SERVER: don't remove() killtargets

This commit is contained in:
cypress 2023-09-05 09:48:30 -04:00
parent 1856d57e27
commit 54b16eb1a0
1 changed files with 4 additions and 2 deletions

View File

@ -99,9 +99,11 @@ void() SUB_UseTargets =
do
{
t = find (t, targetname, self.killtarget);
if (!t)
if (t == world || !t) {
breakthis = true;
remove (t);
continue;
}
Ent_FakeRemove(t);
} while (!breakthis);
}