fixed bug in halloween map count
This commit is contained in:
@@ -6,8 +6,6 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
|
||||
import Fluent
|
||||
import Vapor
|
||||
|
||||
@@ -88,7 +86,6 @@ final class MonthStats: Content {
|
||||
self.stats = stats
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -123,11 +120,8 @@ final class Stats: Content {
|
||||
|
||||
func getRatioDouble() -> Double {
|
||||
let deno = (totalLosses != 0) ? totalLosses : 1
|
||||
|
||||
return (Double(totalWins) / Double(deno)).truncate(places: 3)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
final class StatsWithMostRecentDailyRecord: Content {
|
||||
|
||||
Reference in New Issue
Block a user