From 93f71b0779305e32664dad06f2eacfa3f92fba4f Mon Sep 17 00:00:00 2001 From: Chris Cardozo Date: Sat, 3 Oct 2020 08:05:56 -0400 Subject: [PATCH] Removed logging --- .../Compiles/Functions/GMS_fnc_addMoneyToObject.sqf | 2 +- .../Compiles/Functions/GMS_fnc_cleanupTemporaryMarkers.sqf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf index 2c17267..1561e52 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_addMoneyToObject.sqf @@ -15,7 +15,7 @@ if (toLower(blck_modType) isEqualTo "default") exitWith {}; params["_obj",["_money",-1]]; _money = ([_money] call blck_fnc_getNumberFromRange); -if (blck_debugLevel >= 3) then {[format["_fnc_addmoneyToObject: _money = %1 _obj = %2",_money,_obj]] call blck_fnc_log}; +//if (blck_debugLevel >= 3) then {[format["_fnc_addmoneyToObject: _money = %1 _obj = %2",_money,_obj]] call blck_fnc_log}; if !(_money <= 0) then { switch(toLower(blck_modType)) do diff --git a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_cleanupTemporaryMarkers.sqf b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_cleanupTemporaryMarkers.sqf index 47a3d8d..f049b0b 100644 --- a/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_cleanupTemporaryMarkers.sqf +++ b/@GMS/addons/custom_server/Compiles/Functions/GMS_fnc_cleanupTemporaryMarkers.sqf @@ -12,11 +12,11 @@ for "_i" from 1 to (count blck_temporaryMarkers) do { if (_i > (count blck_temporaryMarkers)) exitWith {}; private _m = blck_temporaryMarkers deleteAt 0; - _m params["_marker","_deleteAt"]; + _m params[["_marker",""],["_deleteAt",0]]; if (diag_tickTime > _deleteAt) then { deleteMarker _marker; } else { blck_temporaryMarkers pushBack _m; }; -}; \ No newline at end of file +};