Remove the fractional part from time in PropertyInfoTable initialization log

This commit is contained in:
Crypto137 2026-01-15 03:41:39 +03:00
parent a83052e01c
commit a335cf3145

View file

@ -216,7 +216,7 @@ namespace MHServerEmu.Games.Properties
// Finish initialization
stopwatch.Stop();
Logger.Info($"Initialized info for {_propertyInfos.Length} properties in {stopwatch.Elapsed.TotalMilliseconds} ms");
Logger.Info($"Initialized info for {_propertyInfos.Length} properties in {(long)stopwatch.Elapsed.TotalMilliseconds} ms");
}
public PropertyInfo LookupPropertyInfo(PropertyEnum propertyEnum)