Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
sp4ce-cowboy committed Apr 16, 2024
1 parent 9933afa commit 61eb76f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions TowerForge/TowerForge/Commons/Utilities/ObjectSet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ class ObjectSet {
DisabledEvent.self,
RequestSpawnEvent.self,
WaveSpawnEvent.self,
GameStartEvent.self,
DeathEvent.self
GameStartEvent.self
]

}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class TotalDeathsStatistic: Statistic {

let statisticUpdateActor = StatisticUpdateActor<KillEvent>(action: eventUpdateClosure)
let anyStatisticUpdateActorWrapper = AnyStatisticUpdateActorWrapper(statisticUpdateActor)

var statisticUpdateLinksMap: [TFEventTypeWrapper: AnyStatisticUpdateActor] = [:]
statisticUpdateLinksMap[eventType] = anyStatisticUpdateActorWrapper
return StatisticUpdateLinkDatabase(statisticUpdateLinks: statisticUpdateLinksMap)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class TotalGamesStatistic: Statistic {

let statisticUpdateActor = StatisticUpdateActor<GameStartEvent>(action: eventUpdateClosure)
let anyStatisticUpdateActorWrapper = AnyStatisticUpdateActorWrapper(statisticUpdateActor)

var statisticUpdateLinksMap: [TFEventTypeWrapper: AnyStatisticUpdateActor] = [:]
statisticUpdateLinksMap[eventType] = anyStatisticUpdateActorWrapper
return StatisticUpdateLinkDatabase(statisticUpdateLinks: statisticUpdateLinksMap)
Expand Down

0 comments on commit 61eb76f

Please sign in to comment.