Since we have the reload_scene logic on the RetryButton now, always calling PlayerData.reset() the player's death count is always reset, making so that at the End Screen the player always has 0 deaths.
Previously only the End Screen made a full PlayerData.reset(), while the UserInterface' just set the PlayerData.score = 0 when its RetryButton was pressed
Since we have the reload_scene logic on the
RetryButton
now, always callingPlayerData.reset()
the player's death count is always reset, making so that at the End Screen the player always has 0 deaths.Previously only the End Screen made a full
PlayerData.reset()
, while the UserInterface' just set thePlayerData.score = 0
when itsRetryButton
was pressed