add newline and fix blacklist

This commit is contained in:
lambdatiger 2024-07-30 13:22:16 -05:00
parent 61a1770384
commit 7b282ec96c
3 changed files with 4 additions and 4 deletions

View File

@ -12,4 +12,4 @@ class GVAR(spall_large): GVAR(large) {
class GVAR(spall_huge): GVAR(huge) {
timeToLive = 0.3;
};
};

View File

@ -18,7 +18,7 @@
params ["_projectile"];
TRACE_2("addBlackList",_projectile,typeOf projectile);
_projectile setVariable [QGVAR(blacklisted)];
_projectile setVariable [QGVAR(blacklisted), true];
_projectile removeEventHandler [
"HitPart",
_projectile getVariable [QGVAR(hitPartEventHandler), -1]
@ -26,4 +26,4 @@ _projectile removeEventHandler [
_projectile removeEventHandler [
"Explode",
_projectile getVariable [QGVAR(explodeEventHandler), -1]
];
];

View File

@ -124,4 +124,4 @@ for "_i" from 1 to _spallCount do {
#ifdef DEBUG_MODE_DRAW
[_fragment, "purple", true] call FUNC(dev_trackObj);
#endif
};
};