game-modes icon indicating copy to clipboard operation
game-modes copied to clipboard

[Joust] Crash on RequestRespawn & ArmorEmpty events when having 1 armor

Open ProfessorLaw opened this issue 4 years ago • 1 comments

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 : image

image

I will include a patch proposal soon.

Thank you !

ProfessorLaw avatar Mar 15 '20 19:03 ProfessorLaw