The terrain init script now aborts if no extension is found

This commit is contained in:
ulteq 2015-04-12 16:10:45 +02:00
parent 9fd19563a3
commit 9f0a2c8b80

View File

@ -12,6 +12,8 @@
*/
#include "script_component.hpp"
if ("ace_advanced_ballistics" callExtension "version" != "1.0") exitWith {};
private ["_initStartTime", "_mapSize", "_mapGrids", "_gridCells", "_x", "_y", "_gridCenter", "_gridHeight", "_gridNumObjects", "_gridSurfaceIsWater"];
_initStartTime = time;