This commit is contained in:
Josh Deprez 2021-08-25 16:51:02 +10:00
parent ee687498fc
commit 1c9ab27b40

View file

@ -84,6 +84,7 @@ func repl(g *engine.Game) {
g.Hide() g.Hide()
if err := g.Load(game.Assets); err != nil { if err := g.Load(game.Assets); err != nil {
log.Printf("Couldn't load: %v", err) log.Printf("Couldn't load: %v", err)
break
} }
g.Prepare() g.Prepare()
g.Enable() g.Enable()