Avoid per-frame 'set' action handler in map.xml when opening the respawn map
This commit is contained in:
parent
bf0e0b1d56
commit
292df29429
1 changed files with 1 additions and 3 deletions
|
@ -425,9 +425,7 @@
|
||||||
<link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
|
<link expr="@UI:VARIABLES:OPEN_RESPAWN" target="ui:interface:respawn_map:active" />
|
||||||
|
|
||||||
<!-- Set the Open Flag when the delay has expired -->
|
<!-- Set the Open Flag when the delay has expired -->
|
||||||
<link expr="depends(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME)" action="set"
|
<link expr="and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME))" target="@UI:VARIABLES:OPEN_RESPAWN" />
|
||||||
params="dblink=UI:VARIABLES:OPEN_RESPAWN|
|
|
||||||
value=and(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, le(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME) )" />
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Verify player mode. because at init, mode == 0, => the window won't be opened by default
|
Verify player mode. because at init, mode == 0, => the window won't be opened by default
|
||||||
|
|
Loading…
Reference in a new issue