actually close instead of continuing with uninitialized GLFW crap
This commit is contained in:
parent
509bc8b20b
commit
e4d0b98945
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user