+4
-3
@@ -633,13 +633,14 @@ public class CasinoGameController {
|
|||||||
*/
|
*/
|
||||||
private void updateTaskbar(GameState s) {
|
private void updateTaskbar(GameState s) {
|
||||||
TaskbarController controller = resolveTaskbarController();
|
TaskbarController controller = resolveTaskbarController();
|
||||||
if (controller != null) {
|
if (controller == null || myPlayerId == null) {
|
||||||
if (gameService != null && myPlayerId != null) {
|
return;
|
||||||
|
}
|
||||||
|
if (gameService != null) {
|
||||||
controller.setGameService(gameService, myPlayerId);
|
controller.setGameService(gameService, myPlayerId);
|
||||||
}
|
}
|
||||||
controller.update(s, myPlayerId);
|
controller.update(s, myPlayerId);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Update the opponent player slots based on the list of players in the game state. This method
|
* Update the opponent player slots based on the list of players in the game state. This method
|
||||||
|
|||||||
Reference in New Issue
Block a user