From 1a1a821d9dd3a88983f9636ee4121ad6025fbb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chauntalle=20Schu=CC=88le?= Date: Thu, 14 May 2020 18:36:13 +0200 Subject: [PATCH] Kommentare entfernt --- GoldWars/GoldWars/Entities/EntityManager.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/GoldWars/GoldWars/Entities/EntityManager.swift b/GoldWars/GoldWars/Entities/EntityManager.swift index c2d8239..38ef9a1 100644 --- a/GoldWars/GoldWars/Entities/EntityManager.swift +++ b/GoldWars/GoldWars/Entities/EntityManager.swift @@ -30,7 +30,6 @@ class EntityManager { } if let spriteNode = entity.component(ofType: ModalBackgroundComponent.self)?.spriteNode { scene.addChild(spriteNode) - //isModal = true } if let modal = entity.component(ofType: ModalContentComponent.self) { scene.addChild(modal.header) @@ -76,7 +75,6 @@ class EntityManager { } if let spriteNode = entity.component(ofType: ModalBackgroundComponent.self)?.spriteNode { spriteNode.removeFromParent() - //isModal = false } if let modal = entity.component(ofType: ModalContentComponent.self) { modal.header.removeFromParent()