From: Rudolf Polzer Date: Sun, 1 Jan 2012 15:33:25 +0000 (+0100) Subject: stop removing the world, I still need it X-Git-Tag: xonotic-v0.6.0~189^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e91b894be09268b62ed8eb96823ab1adace35cdc;p=xonotic%2Fxonotic-data.pk3dir.git stop removing the world, I still need it --- 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; }