- [NEW] El marcador s'amaga quan mors

- [NEW] Al morir i apagar-se tot, les llums s'encenen de cero a normal de nou al reviure
This commit is contained in:
2026-03-27 14:02:41 +01:00
parent 797d407539
commit 5f465b2a74
3 changed files with 20 additions and 3 deletions

View File

@@ -124,6 +124,9 @@ function sprites.lights_out()
spr.light = value
if finished then
spr.light = nil
if sprites.hero.state == templates.DEAD then
game.restart()
end
end
end
)