ModSquadWorkshop / BossRush

Our game for GAM 392: Game Mod Workshop
3 stars 1 forks source link

Double Fire When Picking Up Weapon #200

Open randomPoison opened 9 years ago

randomPoison commented 9 years ago

The way the perk system works when picking up a weapon means that the weapon's cooldown get's reset and the weapon will fire immediately. This is especially noticeable if you pick up a shotgun perk while firing the shotgun, as you get a double-shot with the gun. We should check what kind of weapon you already have when picking up a new one, and only reset ammo, not cooldown, that way the rate of fire is un-interrupted.