Partially fixes The part where exiting from create game after previewing and re-entering again crashes the game
@@ -84,8 +84,8 @@ public String get() {
refreshList(gameList);
gameList.subscribe((widget, item) -> loadGame(item));
- WidgetUtil.trySubscribe(this, "create", button -> {
CreateGameScreen screen = getManager().createScreen(CreateGameScreen.ASSET_URI, CreateGameScreen.class);
+ WidgetUtil.trySubscribe(this, "create", button -> {
screen.setLoadingAsServer(loadingAsServer);
triggerForwardAnimation(screen);
});
