Always have a valid weapon
Fix crash when you're shooting when you die or when you start the game. Since weapon is nil (waiting for anim to finish before assigning it), the game crashes trying on Audio.play(weapon.sound_shoot).pull/9/head
parent
28fc66d961
commit
b2c60a56e3
Loading…
Reference in New Issue