mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 17:10:55 +00:00
SERVER: don't remove() killtargets
This commit is contained in:
parent
1856d57e27
commit
54b16eb1a0
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue