]> 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>
Mon, 5 Jun 2023 19:48:12 +0000 (21:48 +0200)
This reverts commit 4f7fbf82a607dbab329b793c527f59229acfd113.

qcsrc/server/bot/default/bot.qc

index 99bbd44ee029226d3f03aa84f0974233001eeb19..07587befa8794a13bdeb6d0240828f611ce6f8ef 100644 (file)
@@ -118,9 +118,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';
                return;