fix crashing on android when gun is fired