testing previous bug

This commit is contained in:
caesarakalaeii 2023-08-13 02:06:44 +02:00
parent d77ca949d0
commit 4e2f3fa5a0
1 changed files with 2 additions and 3 deletions

View File

@ -43,6 +43,7 @@ public class MyPlayer : Player<MyPlayer>
public void UpdateWeapon()
{
SetHeavyGadget("Sledge Hammer", 0, true);
if (Level < gunGame.Count)
{
var w = new WeaponItem
@ -50,10 +51,8 @@ public class MyPlayer : Player<MyPlayer>
ToolName = gunGame[Level].Name,
MainSight = Attachments.RedDot
};
SetPrimaryWeapon(w, 10, true);
SetPrimaryWeapon(w, 10);
}
SetHeavyGadget("Sledge Hammer", 0);
}
public int GetGameLenght()