]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix warning when bots join (forgot to move the hacky function 1 down in the list)
authorMario <mario@smbclan.net>
Mon, 17 Jul 2017 22:42:28 +0000 (08:42 +1000)
committerMario <mario@smbclan.net>
Mon, 17 Jul 2017 22:42:28 +0000 (08:42 +1000)
qcsrc/server/bot/default/bot.qc

index b0814d72972653159a5df03a046c31da3266acd7..1934e2c1490a7ea67a8a8b3feff772a2ba9d25b3 100644 (file)
@@ -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;