exit now gracefully calls gdx.app.exit

This commit is contained in:
minjaesong
2018-12-03 00:34:31 +09:00
parent 0902dac646
commit ea490435eb
2 changed files with 3 additions and 1 deletions

View File

@@ -93,7 +93,8 @@ open class UIRemoCon(treeRepresentation: QNDTreeNode<String>) : UICanvas() {
selectedItem?.let {
// selection change
if (it.labelText == "MENU_LABEL_QUIT") {
System.exit(0)
//System.exit(0)
Gdx.app.exit()
}
else if (it.labelText == "MENU_LABEL_RETURN") {
if (currentRemoConContents.parent != null) {