Skip to content

Commit

Permalink
fix: give control back to player when lose
Browse files Browse the repository at this point in the history
  • Loading branch information
squidistaken committed Jan 23, 2023
1 parent 56aa6b0 commit 9a3083b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions rooms/rm_puzzle02/rm_puzzle02.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions scripts/scr_seqControl/scr_seqControl.gml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ function scr_loseRestart()
}
else
{
if global.loseCount <= 3
global.playerControl = true;
room_restart();
/* if global.loseCount <= 3
{
room_restart();
global.loseCount = global.loseCount + 1;
Expand All @@ -37,7 +39,7 @@ function scr_loseRestart()
if global.loseCount >= 3
{
room_goto(rm_ending03);
}
}*/
}
}

Expand Down

0 comments on commit 9a3083b

Please sign in to comment.