Random switching of weapons
When a player picks up ammo or a gun, sometimes the weapon is switched without the intention to do so. Haven’t been able to figure out the exact conditions for this to happen.
game: fix overwriting of ammo count instead of add at spawning
And make generic misc weapon add on upgrade skill
game: fix throwing nade when leaning
cgame: fix weapon alt reloads was deleted by accident ...
mod: simplify satchel ammo usage
We should restrict weapons and have real players on the server to test this issue. The behaviour when bots are connected is different related to weapon restrictions. There is a line in the code where bots are able to select a weapon even when this is restricted (to avoid an endless loop).
Throwing nade while leaned seem to still have some issues:
Bystry: throwing grenades while leaning is still bugged
Bystry: nope, sometimes you can’t start timing a nade while leaned
Bystry: sometimes it works though
Bystry: sometimes when i try to start timing a nade while leaned it switches back to smg