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