Closed refringe closed 3 days ago
Are you sure, here's the Rhino just before that function:
Do you know what bot/weapon is broken?
Originally written by chomp
After a lot of debugging I've found issues with:
weapon_izhmeh_mr43_sawed_off_12g - has 2 chambers
weapon_izhmash_mp18_multi - has one chamber but slot is called patron_in_weapon_000
not the expected patron_in_weapon
Originally written by chomp
BotWeaponGenerator.addCartridgeToChamber only adds one cartridge. This causes problems with some weapons when the bot fires one shot and starts reloading. This applies to revolvers and shotguns.
The code should looks something like this:
Originally written by _Barlog_M_