From cd46701d373a3b01f48b1685f67acaddeea71ddc Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Mon, 5 Jun 2023 21:47:15 +0200 Subject: [PATCH] Revert "Campaign: give bots a weapon on map start" This reverts commit c2858527e0fd55a4a9b033af062aa505ee26e0f2. --- qcsrc/server/bot/default/bot.qc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/qcsrc/server/bot/default/bot.qc b/qcsrc/server/bot/default/bot.qc index 2a663a10d..99bbd44ee 100644 --- a/qcsrc/server/bot/default/bot.qc +++ b/qcsrc/server/bot/default/bot.qc @@ -73,12 +73,6 @@ void bot_think(entity this) if (!IS_PLAYER(this) || (autocvar_g_campaign && !campaign_bots_may_start)) { - if (IS_PLAYER(this)) - { - .entity weaponentity = weaponentities[0]; - if(this.(weaponentity).m_weapon == WEP_Null) - W_NextWeapon(this, 0, weaponentity); - } CS(this).movement = '0 0 0'; this.bot_nextthink = time + 0.5; return; -- 2.39.2