Merge branch '31-debug-flag-fur-matchmaking' into 'development'
Resolve "Debug Flag für Matchmaking" Closes #31 See merge request marcel.schwarz/software-projekt-2!43
This commit is contained in:
commit
0b4e9ad48e
@ -21,7 +21,11 @@ class MenuScene: SKScene {
|
||||
text: "Start Game",
|
||||
position: CGPoint(x: midX, y: midY),
|
||||
onButtonPress: {
|
||||
if CommandLine.arguments.contains("--no-matchmaking") {
|
||||
self.loadScene(scene: GameScene(size: self.size))
|
||||
} else {
|
||||
MatchmakingHelper.sharedInstance.presentMatchmaker(scene: self)
|
||||
}
|
||||
}))
|
||||
entityManager.add(Button(name: "settingsButton",
|
||||
iconName: "",
|
||||
|
Loading…
Reference in New Issue
Block a user