Commit 19336f5e authored by Xuhao Lin's avatar Xuhao Lin
Browse files

[IHM-Main] gamelist on ai game fix

parent 0b171e9a
......@@ -183,7 +183,7 @@ public class GameListController extends AbstractController{
});
gameList = new TableView<>();
gameList.getColumns().addAll(nameColumn, creatorColumn, modeColumn, chatColumn, playerNumberColumn);
gameList.getColumns().addAll(nameColumn, creatorColumn, modeColumn, aiColumn, chatColumn, playerNumberColumn);
gameList.setColumnResizePolicy(TableView.CONSTRAINED_RESIZE_POLICY);
}
......@@ -239,7 +239,6 @@ public class GameListController extends AbstractController{
@FXML
private void watchSelectedGame(ActionEvent event){
if(selectedGame != null){
System.out.println("ihm main watch request");
getFacade().iDataIHMMain.gameConnectionRequestGame(selectedGame.getId(), "spectator");
loadingScreen();
}else{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment