mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
hide clock on map if no watch in inventory, #414
This commit is contained in:
parent
acfc48efc2
commit
43c54d51e8
@ -2,3 +2,8 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
((_this select 0) displayCtrl 1016) ctrlShow GVAR(mapShowCursorCoordinates);
|
||||
|
||||
// hide time when no map in inventory
|
||||
if (!isNull ACE_player) then {
|
||||
((_this select 0) displayCtrl 101) ctrlShow ("ItemWatch" in assignedItems ACE_player);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user