mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
adjusting disposing behavs so that we can go back and forth the ingame and titlescr
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package net.torvald.terrarum.console
|
||||
|
||||
import net.torvald.terrarum.console.ConsoleCommand
|
||||
import com.badlogic.gdx.Gdx
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2016-01-15.
|
||||
@@ -8,7 +8,7 @@ import net.torvald.terrarum.console.ConsoleCommand
|
||||
internal object QuitApp : ConsoleCommand {
|
||||
|
||||
override fun execute(args: Array<String>) {
|
||||
System.exit(1)
|
||||
Gdx.app.exit()
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
|
||||
Reference in New Issue
Block a user