From e91b894be09268b62ed8eb96823ab1adace35cdc Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 1 Jan 2012 16:33:25 +0100 Subject: [PATCH] stop removing the world, I still need it --- qcsrc/server/bot/bot.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/bot/bot.qc b/qcsrc/server/bot/bot.qc index 7bb507579..1658d7fac 100644 --- a/qcsrc/server/bot/bot.qc +++ b/qcsrc/server/bot/bot.qc @@ -375,7 +375,8 @@ void bot_clientdisconnect() self.netname_freeme = string_null; self.playermodel_freeme = string_null; self.playerskin_freeme = string_null; - remove(self.bot_cmd_current); + if(self.bot_cmd_current) + remove(self.bot_cmd_current); if(bot_waypoint_queue_owner==self) bot_waypoint_queue_owner = world; } -- 2.39.2