actually close instead of continuing with uninitialized GLFW crap

This commit is contained in:
bdnugget 2025-01-19 00:56:17 +01:00
parent 509bc8b20b
commit e4d0b98945

View File

@ -1,6 +1,7 @@
package game
import (
"os"
"time"
"gitea.boner.be/bdnugget/goonscape/assets"
@ -309,4 +310,5 @@ func (g *Game) Shutdown() {
close(g.QuitChan)
<-g.Player.QuitDone
rl.CloseWindow()
os.Exit(0)
}