mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-02-17 09:32:08 +00:00
fix and assign to world on client exit
This commit is contained in:
parent
e8f26cda79
commit
b3a03080e0
1 changed files with 1 additions and 1 deletions
|
@ -3276,7 +3276,7 @@ void() ClientDisconnect =
|
|||
mrmartyr = world;
|
||||
do {
|
||||
mrmartyr = nextent (mrmartyr);
|
||||
if (mrmartyr.martyr_enemy == te)
|
||||
if (mrmartyr && mrmartyr.martyr_enemy == te)
|
||||
mrmartyr.martyr_enemy = world;
|
||||
} while (mrmartyr != world);
|
||||
|
||||
|
|
Loading…
Reference in a new issue