Commit 5e59f8f
[Bugfix] Fix disappearing grenade
The way to reproduce:
1) Attach grenade launcher to the weapon
2) Switch to GL mode and reload GL
3) Switch back to bullets
4) Detach GL. GL would be spawned to the inventory, but loaded grenade would stay in the weapon.
It happens because weapon has 2 magazines: for current active ammo and for secondary (inactive) ammo. So, you should force game to unload ammos from "GL's" mag.1 parent e9c867f commit 5e59f8f
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| |||
0 commit comments