]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "Give bots a weapon on map reset"
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 5 Jun 2023 19:47:24 +0000 (21:47 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 6 Jun 2023 18:28:54 +0000 (20:28 +0200)
This reverts commit 4f7fbf82a607dbab329b793c527f59229acfd113.

qcsrc/server/bot/default/bot.qc

index a42b0609a191ccf9e063de4d429807ccdbb2e59b..3b9f8691d17fc42486a0d416455444fddfe813f2 100644 (file)
@@ -107,9 +107,6 @@ void bot_think(entity this)
 
        if (time < game_starttime)
        {
-               .entity weaponentity = weaponentities[0];
-               if(this.(weaponentity).m_weapon == WEP_Null)
-                       W_NextWeapon(this, 0, weaponentity);
                // block the bot during the countdown to game start
                CS(this).movement = '0 0 0';
                this.bot_nextthink = game_starttime;