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

Selection, cache DeveloperMode trait. #20282

Merged
merged 1 commit into from Sep 11, 2022

Conversation

anvilvapre
Copy link
Contributor

Replaces #20277.

Setting developerMode in INotifyCreated.Created results in a nre. Perhaps because player actor is created manually.

If the trait can only be associated to a player actor then perhaps self.Trait<DeveloperMode>() could be used? But a check to see if self is a player actor would be needed - and the type name varies.

RoosterDragon
RoosterDragon previously approved these changes Sep 11, 2022
@PunkPun PunkPun merged commit 7f404f6 into OpenRA:bleed Sep 11, 2022
@PunkPun
Copy link
Member

PunkPun commented Sep 11, 2022

Changelog

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