fix and assign to world on client exit

This commit is contained in:
Bill Currie 2001-07-28 02:47:17 +00:00
parent e8f26cda79
commit b3a03080e0

View file

@ -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);