Err... Should Still be !health

Apparently it's just so that single sound plays when the pod is out of
health utterly.
This commit is contained in:
Twinmold
2016-11-26 23:18:04 -06:00
parent e99996c725
commit 4ab60530ae
+1 -1
View File
@@ -231,7 +231,7 @@
occupant_sanity_check()
if(oldhealth > health && percentage <= 25 && percentage > 0)
play_sound_to_riders('sound/effects/engine_alert2.ogg')
else if(oldhealth > health)
if(oldhealth > health && !health)
play_sound_to_riders('sound/effects/engine_alert1.ogg')
if(!health)
spawn(0)