From ad92c3751e29376852a5506f131abc8faa287068 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 22 Apr 2024 12:50:38 +0100 Subject: make exit movable to avoid softlock --- level.go | 1 + 1 file changed, 1 insertion(+) diff --git a/level.go b/level.go index 2199a37..8c46bc8 100644 --- a/level.go +++ b/level.go @@ -140,6 +140,7 @@ func StartLevel4(g *Game) { func StartLevel5(g *Game) { g.SetPlacing() g.toPlace = append(g.toPlace, NewSpike(g, 0, 0)) + g.exit.movable = true // after end g.QueueState(ReverseLevel) -- cgit v1.2.1