game-modes
game-modes copied to clipboard
[Joust] Crash on RequestRespawn & ArmorEmpty events when having 1 armor
Hello there !
On Joust script, a crash will happen if the player is having only 1 armor and triggers the OnArmorEmpty or OnPlayerRequestRespawn (falls into offzone or press backspace). This is because JoustRespawnPlayer function is called with an Armor parameter set to 0 in that case.
Screenshots :
I will include a patch proposal soon.
Thank you !