Adding useful TRACE statement

This commit is contained in:
lambdatiger 2024-01-12 02:08:41 -06:00
parent ad1916f513
commit 21c72313f4

View File

@ -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",
{