hide clock on map if no watch in inventory, #414

This commit is contained in:
commy2 2015-09-02 01:40:38 +02:00
parent acfc48efc2
commit 43c54d51e8

View File

@ -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);
};