adjusting disposing behavs so that we can go back and forth the ingame and titlescr

This commit is contained in:
minjaesong
2019-01-31 00:12:38 +09:00
parent 1475fa08dc
commit b3e323965f
12 changed files with 62 additions and 49 deletions

View File

@@ -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() {