Fix playtime tracker (#20014)

This commit is contained in:
metalgearsloth
2023-09-11 17:42:25 +10:00
committed by GitHub
parent ceda715f1c
commit e1a91466f1
4 changed files with 2 additions and 9 deletions

View File

@@ -205,7 +205,7 @@ public sealed class PlayTimeTrackingSystem : EntitySystem
if (!_tracking.TryGetTrackerTimes(player, out var playTimes))
{
// Sorry mate but your playtimes haven't loaded.
Logger.ErrorS("playtime", $"Playtimes weren't ready yet for {player} on roundstart!");
Log.Error($"Playtimes weren't ready yet for {player} on roundstart!");
playTimes ??= new Dictionary<string, TimeSpan>();
}