Player death not resetting timer

not sure if we touch on this in later lessons but it seems that the timer continues to count down after hitting a trap,
i guess a simple fix would be adding time_left = level_time in the _on_trap_touched_player() function?

If I remember correctly, this is actually by design. My game is set up the same way because I added a feature that is retained on death, but resets itself on timeover.

There’s no issue with restarting the timer on all deaths though; that’s up to you =)

Privacy & Terms