Disabled updateTask for Android

Disabled updateTask because it's causing Android to hang -- likely some concurrency issue?
This commit is contained in:
Collin Smith 2019-02-20 22:41:08 -08:00
parent 679984b9b5
commit c33e18d8a6

View File

@ -447,6 +447,7 @@ public class GameScreen extends ScreenAdapter implements LoadingScreen.Loadable
}
}
/*
updateTask = Timer.schedule(new Timer.Task() {
GridPoint2 position = new GridPoint2();
@ -458,6 +459,7 @@ public class GameScreen extends ScreenAdapter implements LoadingScreen.Loadable
out.println(moveTo);
}
}, 0, 1 / 25f);
*/
}
@Override
@ -476,7 +478,7 @@ public class GameScreen extends ScreenAdapter implements LoadingScreen.Loadable
Diablo.input.removeProcessor(stage);
Diablo.input.removeProcessor(inputProcessorTest);
updateTask.cancel();
//updateTask.cancel();
}
@Override