Fixed map module init, Prevented BFT execution on Headless, Changed BFT Enabled string

This commit is contained in:
jonpas 2015-06-21 21:08:37 +02:00
parent 4f35e10afa
commit a7d9489555
3 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,9 @@ call FUNC(determineZoom);
((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", {[] call FUNC(updateMapEffects);}];
};
// Client only from here
if !(hasInterface) exitWith {};
["SettingsInitialized", {
// Start Blue Force Tracking if Enabled
if (GVAR(BFT_Enabled)) then {

View File

@ -10,7 +10,7 @@
*/
#include "script_component.hpp"
if !(hasInterface) exitWith {};
if !(isServer) exitWith {};
PARAMS_3(_logic,_units,_activated);

View File

@ -78,7 +78,7 @@
<Czech>Blue Force Tracking</Czech>
</Key>
<Key ID="STR_ACE_Map_BFT_Enabled_DisplayName">
<English>Enable</English>
<English>BFT Enable</English>
</Key>
<Key ID="STR_ACE_Map_BFT_Enabled_Description">
<English>Enable Blue Force Tracking. Default: No</English>