mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 17:59:03 +00:00
Avoid per-frame 'set' action handler in map.xml when opening the respawn map
This commit is contained in:
parent
d441ad5d35
commit
e936b06a01
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