Disabled AB terrain init, if AB is not enabled

This commit is contained in:
ulteq 2015-05-02 00:36:23 +02:00
parent 1a946acc30
commit 884da7742e

View File

@ -13,6 +13,7 @@
#include "script_component.hpp"
if (!hasInterface) exitWith {};
if (!GVAR(enabled)) exitWith {};
if (!GVAR(extensionAvailable)) exitWith {};
private ["_initStartTime", "_mapSize", "_mapGrids", "_gridCells", "_x", "_y", "_gridCenter", "_gridHeight", "_gridNumObjects", "_gridSurfaceIsWater"];