This commit is contained in:
2026-05-06 17:20:39 +02:00
parent 83d39795be
commit f55e7336a4

View File

@@ -347,21 +347,22 @@ updateWeapon()
self.isUpdatingWeapon = undefined;
return;
}
//self iPrintlnBold(level.gungameList[self.current]);
self takeAllWeapons();
variant = randomInt(9);
if(getDvar("gunmode") == "Fungame")
variant = 0;
if (isSubstr(level.gungameList[self.current], "_akimbo"))
self giveWeapon(level.gungameList[self.current], variant, true);
else
self giveWeapon(level.gungameList[self.current], variant, false);
self giveWeapon("onemanarmy_mp");
self takeWeapon(self getCurrentWeapon());
self giveMaxAmmo(level.gungameList[self.current]);
self switchtoweaponimmediate(level.gungameList[self.current]);
if(level.state == "prematch" || level.state == "ingame")
self show();
self giveMaxAmmo(level.gungameList[self.current]);
self switchtoweaponimmediate(level.gungameList[self.current]);
self.isUpdatingWeapon = undefined;
if(self.isJugger)
self setMoveSpeedScale(1);