diff --git a/TowerForge/TowerForge/Commons/Utilities/ObjectSet.swift b/TowerForge/TowerForge/Commons/Utilities/ObjectSet.swift index 41d4d5ba..530d5f51 100644 --- a/TowerForge/TowerForge/Commons/Utilities/ObjectSet.swift +++ b/TowerForge/TowerForge/Commons/Utilities/ObjectSet.swift @@ -38,8 +38,7 @@ class ObjectSet { DisabledEvent.self, RequestSpawnEvent.self, WaveSpawnEvent.self, - GameStartEvent.self, - DeathEvent.self + GameStartEvent.self ] } diff --git a/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalDeathsStatistic.swift b/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalDeathsStatistic.swift index 0f6b30fa..237b4883 100644 --- a/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalDeathsStatistic.swift +++ b/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalDeathsStatistic.swift @@ -38,7 +38,7 @@ final class TotalDeathsStatistic: Statistic { let statisticUpdateActor = StatisticUpdateActor(action: eventUpdateClosure) let anyStatisticUpdateActorWrapper = AnyStatisticUpdateActorWrapper(statisticUpdateActor) - + var statisticUpdateLinksMap: [TFEventTypeWrapper: AnyStatisticUpdateActor] = [:] statisticUpdateLinksMap[eventType] = anyStatisticUpdateActorWrapper return StatisticUpdateLinkDatabase(statisticUpdateLinks: statisticUpdateLinksMap) diff --git a/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalGamesStatistic.swift b/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalGamesStatistic.swift index fd05c8f8..adfbcafb 100644 --- a/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalGamesStatistic.swift +++ b/TowerForge/TowerForge/Metrics/Statistics/Implemented/TotalGamesStatistic.swift @@ -34,7 +34,7 @@ final class TotalGamesStatistic: Statistic { let statisticUpdateActor = StatisticUpdateActor(action: eventUpdateClosure) let anyStatisticUpdateActorWrapper = AnyStatisticUpdateActorWrapper(statisticUpdateActor) - + var statisticUpdateLinksMap: [TFEventTypeWrapper: AnyStatisticUpdateActor] = [:] statisticUpdateLinksMap[eventType] = anyStatisticUpdateActorWrapper return StatisticUpdateLinkDatabase(statisticUpdateLinks: statisticUpdateLinksMap)