-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
More minelaying improvements #20963
More minelaying improvements #20963
Conversation
555e8be
to
1e2db80
Compare
I don't mind the addition of |
05e0aa3
to
bd51bfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untested, but code changes lgtm.
I'm thinking, couldn't it be better to just have a GrantConditionOnMinelaying trait? Then you could use all the other cool visuals and not be limited to just changing the actors SpriteBody |
bd51bfb
to
31e10a2
Compare
Yeah, the trait can be removed. It's redundant |
31e10a2
to
2c12a47
Compare
Uses INotifyMineLaying callbacks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Third round of improvements for
Minelayer
:LayMines
renders minefield cells only if the minefield has more than 1 cellGrantConditionOnMinelaying
trait for making a condition that is granted when minelayer is laying a mine