mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Exit entire map Client XEH on Headless
This commit is contained in:
parent
a7d9489555
commit
2e50261bd3
@ -1,5 +1,8 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
// Exit on Headless as well
|
||||||
|
if !(hasInterface) exitWith {};
|
||||||
|
|
||||||
LOG(MSG_INIT);
|
LOG(MSG_INIT);
|
||||||
|
|
||||||
// Calculate the maximum zoom allowed for this map
|
// Calculate the maximum zoom allowed for this map
|
||||||
@ -18,9 +21,6 @@ call FUNC(determineZoom);
|
|||||||
((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", {[] call FUNC(updateMapEffects);}];
|
((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", {[] call FUNC(updateMapEffects);}];
|
||||||
};
|
};
|
||||||
|
|
||||||
// Client only from here
|
|
||||||
if !(hasInterface) exitWith {};
|
|
||||||
|
|
||||||
["SettingsInitialized", {
|
["SettingsInitialized", {
|
||||||
// Start Blue Force Tracking if Enabled
|
// Start Blue Force Tracking if Enabled
|
||||||
if (GVAR(BFT_Enabled)) then {
|
if (GVAR(BFT_Enabled)) then {
|
||||||
|
Loading…
Reference in New Issue
Block a user