From 21c72313f446ed6a7a3b6e5f92c2ad1a1bd9019e Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Fri, 12 Jan 2024 02:08:41 -0600 Subject: [PATCH] Adding useful TRACE statement --- addons/frag/functions/fnc_initRound.sqf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/frag/functions/fnc_initRound.sqf b/addons/frag/functions/fnc_initRound.sqf index 4b8e2edd1a..2431431b1c 100644 --- a/addons/frag/functions/fnc_initRound.sqf +++ b/addons/frag/functions/fnc_initRound.sqf @@ -14,6 +14,7 @@ * * Public: No */ + TRACE_1("",_this); params [ ["_projectile", objNull, [objNull]] ]; @@ -25,7 +26,7 @@ if (_ammo isEqualTo "" || {isNull _projectile}) exitWith { }; private _shouldFrag = _ammo call FUNC(shouldFrag); -if (_doFrag) then { +if (_shouldFrag && GVAR(enabled)) then { _projectile addEventHandler [ "Explode", {