From 9c751cc84fc50065245aaeae7e2047fbe0ce9933 Mon Sep 17 00:00:00 2001 From: Jakob Haag Date: Mon, 11 May 2020 19:37:00 +0200 Subject: [PATCH] remove code for testing --- GoldWars/GoldWars/Entities/Modal.swift | 2 +- GoldWars/GoldWars/MatchmakingHelper.swift | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/GoldWars/GoldWars/Entities/Modal.swift b/GoldWars/GoldWars/Entities/Modal.swift index 0c87e03..a8f638f 100644 --- a/GoldWars/GoldWars/Entities/Modal.swift +++ b/GoldWars/GoldWars/Entities/Modal.swift @@ -20,7 +20,7 @@ class Modal: GKEntity{ addComponent(ModalBackgroundComponent(anchorPoint: anchorPoint)) addComponent(ModalContentComponent( header: "Basis Information", - body: "Diese Basis enthält \(base.unitCount) Einheiten und gehört Spieler \(base.ownerShipPlayer?.displayName ?? "null")", + body: "Diese Basis enthält \(base.unitCount) Einheiten", footer: "", anchorPoint: anchorPoint ) diff --git a/GoldWars/GoldWars/MatchmakingHelper.swift b/GoldWars/GoldWars/MatchmakingHelper.swift index 5545d25..46d3de7 100644 --- a/GoldWars/GoldWars/MatchmakingHelper.swift +++ b/GoldWars/GoldWars/MatchmakingHelper.swift @@ -156,18 +156,6 @@ class MatchmakingHelper: NSObject, GKMatchmakerViewControllerDelegate, GKMatchDe } else { self.isServer = false } - - print("====================================") - print(GKLocalPlayer.local) - for player in MatchmakingHelper.sharedInstance.mpMatch!.players { - print(player) - } - print("====================================") - - print(MatchmakingHelper.sharedInstance.mpMatch) - - print("====================================") - self.delegate?.matchStarted() self.menusc!.loadScene(scene: GameScene(size: self.menusc!.size)) })