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

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