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.
14 lines
304 B
YAML
14 lines
304 B
YAML
Container@TRANSIENTS_PANEL:
|
|
X: 5
|
|
Y: WINDOW_BOTTOM - HEIGHT - 65
|
|
Width: 550
|
|
Height: 80
|
|
Logic: IngameTransientNotificationsLogic
|
|
Children:
|
|
TextNotificationsDisplay@TRANSIENTS_DISPLAY:
|
|
Width: PARENT_RIGHT
|
|
Height: PARENT_BOTTOM
|
|
DisplayDurationMs: 4000
|
|
LogLength: 5
|
|
HideOverflow: False
|