From: Mario Date: Mon, 17 Jul 2017 22:42:28 +0000 (+1000) Subject: Fix warning when bots join (forgot to move the hacky function 1 down in the list) X-Git-Tag: xonotic-v0.8.5~2532^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=17a60e212b2b478f1a612a057af6fcc86ef97e88;p=xonotic%2Fxonotic-data.pk3dir.git Fix warning when bots join (forgot to move the hacky function 1 down in the list) --- diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index b0814d729..1934e2c14 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -56,8 +56,8 @@ entity bot_spawn() setItemGroupCount(); currentbots = currentbots + 1; bot_setnameandstuff(bot); - bot_setclientfields(bot); ClientConnect(bot); + bot_setclientfields(bot); PutClientInServer(bot); } return bot;