mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-20 07:58:44 +00:00
Avoid per-frame 'set' action handler in map.xml when opening the respawn map
--HG-- branch : kaetemi-optimize
This commit is contained in:
parent
22710e12bd
commit
13fc6ffb58
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" />
|
||||
|
||||
<!-- Set the Open Flag when the delay has expired -->
|
||||
<link expr="depends(@UI:VARIABLES:OPEN_RESPAWN_AT_TIME, @UI:VARIABLES:CURRENT_TIME)" action="set"
|
||||
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) )" />
|
||||
<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" />
|
||||
|
||||
<!--
|
||||
Verify player mode. because at init, mode == 0, => the window won't be opened by default
|
||||
|
|
Loading…
Reference in a new issue