mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
moving it to map
This commit is contained in:
parent
50dbbda8eb
commit
4834facccf
@ -283,16 +283,6 @@ if (hasInterface) then {
|
||||
["playerChanged", [ACE_player, _oldPlayer]] call FUNC(localEvent);
|
||||
};
|
||||
}, 0, []] call cba_fnc_addPerFrameHandler;
|
||||
|
||||
// doesn't work on postInit in SP
|
||||
["mapDisplayLoaded", {
|
||||
//hint str _this; systemChat str _this; diag_log str _this;
|
||||
|
||||
if (_this select 1 == "ingame") then {
|
||||
((_this select 0) displayCtrl 1016) ctrlShow false;
|
||||
};
|
||||
}] call FUNC(addEventhandler);
|
||||
|
||||
};
|
||||
|
||||
// Init toHex
|
||||
|
@ -19,4 +19,13 @@ call FUNC(determineZoom);
|
||||
((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", {[] call FUNC(updateMapEffects);}];
|
||||
};
|
||||
|
||||
// doesn't work on postInit in SP
|
||||
["mapDisplayLoaded", {
|
||||
hint str _this; systemChat str _this; diag_log str _this;//
|
||||
|
||||
if (_this select 1 == "ingame") then {
|
||||
((_this select 0) displayCtrl 1016) ctrlShow false;
|
||||
};
|
||||
}] call FUNC(addEventhandler);
|
||||
|
||||
ADDON = true;
|
||||
|
Loading…
Reference in New Issue
Block a user