moving it to map

This commit is contained in:
commy2 2015-04-08 00:30:36 +02:00
parent 50dbbda8eb
commit 4834facccf
2 changed files with 9 additions and 10 deletions

View File

@ -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

View File

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