// updates game statuses declered in Constants.cs public static void UpdateGameStatus(int gameID, int status) { if (GameController.gameType == Constants.GAME_TYPE_PLAY_ONLINE || GameController.gameType == Constants.GAME_TYPE_GAME_VS_COMPUTER) { duplexServiceClient.UpdateGameStatus(gameID, status); } }