From 222d13643a201a2ba241d76a6d135731f85a3959 Mon Sep 17 00:00:00 2001 From: richard Date: Sat, 15 Nov 2008 19:11:36 +0100 Subject: [PATCH] Added additional client checks before spawning on spawn all command. --- src/zr/zradmin.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/zr/zradmin.inc b/src/zr/zradmin.inc index a0be43e..095d71a 100644 --- a/src/zr/zradmin.inc +++ b/src/zr/zradmin.inc @@ -355,7 +355,10 @@ ZRSpawnAll(client) { for (new c = 1; c < maxclients; c++) { - ZSpawn(c); + if (IsClientConnected(c) && IsClientInGame(c)) + { + ZSpawn(c); + } } ZRAdminMenu(client); }