diff --git a/addons/frag/functions/fnc_dev_sphereDraw.sqf b/addons/frag/functions/fnc_dev_sphereDraw.sqf index c56716f20d..ae9290d111 100644 --- a/addons/frag/functions/fnc_dev_sphereDraw.sqf +++ b/addons/frag/functions/fnc_dev_sphereDraw.sqf @@ -45,7 +45,7 @@ if (_color select [0,1] != "(") then private _clrStr = "#(argb,8,8,3)color" + _color; private _sphere = "Sign_Sphere25cm_F" createVehicle [1,2,34]; -_sphere setObjectTexture [0, _clrStr]; +_sphere setObjectTextureGlobal [0, _clrStr]; _sphere setPosASL _posASL; GVAR(dev_eventSpheres) pushBack _sphere; diff --git a/addons/frag/script_component.hpp b/addons/frag/script_component.hpp index 982997218f..72f4304efa 100644 --- a/addons/frag/script_component.hpp +++ b/addons/frag/script_component.hpp @@ -3,8 +3,8 @@ #include "\z\ace\addons\main\script_mod.hpp" // #define LOG_FRAG_INFO -#define DEBUG_MODE_FULL -#define DEBUG_MODE_DRAW +// #define DEBUG_MODE_FULL +// #define DEBUG_MODE_DRAW // #define DISABLE_COMPILE_CACHE // #define ENABLE_PERFORMANCE_COUNTERS