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
Define and measure duration for text notifications in milliseconds #20502
Define and measure duration for text notifications in milliseconds #20502
Conversation
91d28dd
to
1c423f6
Compare
Update: Added update rule. |
OpenRA.Mods.Common/UpdateRules/Rules/TextNotificationsDisplayWidgetRemoveTime.cs
Outdated
Show resolved
Hide resolved
1c423f6
to
39a87f3
Compare
Update: Moved update rule and added to the update path. |
39a87f3
to
160c552
Compare
Update: fixed #20502 (comment) |
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
160c552
to
7df81f5
Compare
Update: changed field name to |
During a game notification duration should be the same regardless of game speed. Switch to using wall-clock time defined in milliseconds instead of game ticks. Also use the opportunity to rename the field to "Duration" because "RemoveTime" is not so clear.
7df81f5
to
753c6f0
Compare
Update: switch to measuring the time against |
Notification duration should be the same regardless of game speed. Switch to using wall-clock time defined in milliseconds instead of game ticks. Also use the opportunity to rename the field to "Duration" because "RemoveTime" is not so clear.
Closes #20501