diff --git a/GoldWars/GoldWars/GameViewController.swift b/GoldWars/GoldWars/GameViewController.swift index 29f521d..158c6de 100644 --- a/GoldWars/GoldWars/GameViewController.swift +++ b/GoldWars/GoldWars/GameViewController.swift @@ -17,7 +17,6 @@ class GameViewController: UIViewController { if let view = self.view as! SKView? { if let scene = SKScene(fileNamed: "MenuScene") { - scene.size = self.view.bounds.size scene.scaleMode = .aspectFill view.presentScene(scene) //TODO: create dev profile or remove on delivery @@ -25,6 +24,8 @@ class GameViewController: UIViewController { view.showsNodeCount = true } } + + GameCenterHelper.helper.viewController = self } override var shouldAutorotate: Bool {