JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Cooking Grenades + Switching Weapon, Subtracts Wrong Weapon Stack #316

Closed DarthFutuza closed 4 years ago

DarthFutuza commented 4 years ago

If you cook a grenade, and then switch to a different weapon while it is still cooking, the grenade will attempt to consume the current weapon stack (for the weapon you switched to instead of the grenade's stack) when the cook timer runs out and the grenade will not be thrown, but rather blow up in the player's hand.

Possible Fix: toss any cooking grenades as soon as you attempt to switch weapons, and subtract from the stack when you start cooking.

DarthFutuza commented 4 years ago

Fixed for now.