diff --git a/objects/oControl.object.gmx b/objects/oControl.object.gmx index e5a7e39b..18fd711a 100644 --- a/objects/oControl.object.gmx +++ b/objects/oControl.object.gmx @@ -1529,10 +1529,9 @@ if (global.mapmarker) { 1 /// Player death transition -if(global.playerhealth <= 0 && global.saxmode && global.sax && oCharacter.sprite_index != sCoreXSAX){ - global.playerhealth = 1; - exit; -} +if(global.playerhealth <= 0 && global.saxmode && global.sax && oCharacter.sprite_index != sCoreXSAX) global.playerhealth = 1; + +if(global.playerhealth >= 0) exit; if(instance_exists(oClient) && oClient.connected){ global.currX = oCharacter.x; diff --git a/scripts/characterStepEvent.gml b/scripts/characterStepEvent.gml index 4a01bc11..8c9fad1e 100644 --- a/scripts/characterStepEvent.gml +++ b/scripts/characterStepEvent.gml @@ -268,6 +268,7 @@ if (global.spectator) { global.absorbDone = true; absorbTime = 0; global.playerhealth = -1; + global.spectator = false; if (global.playerhealth <= 0) with (oControl) event_user(1); } }