actually close instead of continuing with uninitialized GLFW crap
This commit is contained in:
parent
509bc8b20b
commit
e4d0b98945
@ -1,6 +1,7 @@
|
|||||||
package game
|
package game
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.boner.be/bdnugget/goonscape/assets"
|
"gitea.boner.be/bdnugget/goonscape/assets"
|
||||||
@ -309,4 +310,5 @@ func (g *Game) Shutdown() {
|
|||||||
close(g.QuitChan)
|
close(g.QuitChan)
|
||||||
<-g.Player.QuitDone
|
<-g.Player.QuitDone
|
||||||
rl.CloseWindow()
|
rl.CloseWindow()
|
||||||
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user