Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ScriptTriggers from indestructible map deco actors #19056

Merged
merged 1 commit into from
Jan 16, 2021

Conversation

reaperrr
Copy link
Contributor

Removes ScriptTriggers trait from trees, rocks and destroyed fields (in other words, indestructible map decoration actors) in RA and C&C.

This trait isn't free in terms of performance due to all the INotify* calls, and the mentioned actors should rarely - more likely never - need it. Besides, if a mission ever really needs this on those actors, the trait can be added back via map rules.

Split from #18588 to get the uncontroversial(?) and easy stuff out of the way, as some maps have lots of trees so there might already be a small win from this alone.

Removes it from destroyed fields, trees and rocks in RA and C&C.

This trait isn't free in terms of performance due to all the
INotify* calls, and the mentioned actors should rarely
- if ever - need it. Besides, if a mission ever really needs
this on those actors, the trait can be added back via
map rules.
@reaperrr reaperrr changed the title Remove ScriptTriggers from map deco actors Remove ScriptTriggers from indestructible map deco actors Jan 15, 2021
@pchote pchote merged commit 808c5f0 into OpenRA:bleed Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants