Fixed: FPH now displays fame per hour instad of fame per second :)
This commit is contained in:
@@ -147,7 +147,7 @@ def get_stats(stat_type: VisibilityType):
|
|||||||
fame = game_stats.fame_stats(stat_type)
|
fame = game_stats.fame_stats(stat_type)
|
||||||
time = game_stats.time_stats(stat_type)['seconds_in_game']
|
time = game_stats.time_stats(stat_type)['seconds_in_game']
|
||||||
fame = FameStat(Number(fame['fame']), Number(
|
fame = FameStat(Number(fame['fame']), Number(
|
||||||
fame['fame'] / time if time > 0.0 else 0.0))
|
(fame['fame'] / time) * 60 * 60 if time > 0.0 else 0.0))
|
||||||
players = game_stats.damage_stats(stat_type)
|
players = game_stats.damage_stats(stat_type)
|
||||||
|
|
||||||
return players, fame, time
|
return players, fame, time
|
||||||
|
|||||||
Reference in New Issue
Block a user