I added a game information class, that has a method to evaluate the current game state according to the timer and integrity value.
I changed the end scene script to only play the end scene if the game is won.
Furthermore, i added a door controller script, that opens the door only, if a specific game state is active.
I added a game information class, that has a method to evaluate the current game state according to the timer and integrity value. I changed the end scene script to only play the end scene if the game is won. Furthermore, i added a door controller script, that opens the door only, if a specific game state is active.