mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-21 20:18:14 +07:00
Disabled updateTask for Android
Disabled updateTask because it's causing Android to hang -- likely some concurrency issue?
This commit is contained in:
parent
679984b9b5
commit
c33e18d8a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user