summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-12-30 05:59:54 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-12-30 05:59:54 +0100
commitfc5c0803a7ce13c0e8c291515ce489b7b2a89a2a (patch)
tree10fa40b2766116fecb8d4ba75acbbfdac9ad11ac
parentae6213e80aa6f7c8963d38e80f67538e7715911a (diff)
run in bg too
-rw-r--r--fire/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/fire/main.go b/fire/main.go
index 3d47d11..3b68a00 100644
--- a/fire/main.go
+++ b/fire/main.go
@@ -95,6 +95,7 @@ func (dc *drawContext) update(screen *ebiten.Image) error {
func main() {
dc := newDrawContext(screenWidth, screenHeight)
+ ebiten.SetRunnableInBackground(true)
if err := ebiten.Run(dc.update, screenWidth, screenHeight, scale, "Fire"); err != nil {
log.Fatal(err)
}