diff --git a/ModEntry.cs b/ModEntry.cs index 66ddad3..1b953ef 100644 --- a/ModEntry.cs +++ b/ModEntry.cs @@ -62,10 +62,9 @@ namespace Relativity if (float.IsNaN(totalElapsedGTI)) totalElapsedGTI = 0; float players = playerTimeData.Count; - float paused = playerTimeData.Count(x => !x.Value.STP); - float timeSpeedFactor = 1f - paused / players; + float active = playerTimeData.Count(x => x.Value.STP); - totalElapsedGTI += Game1.gameTimeInterval * timeSpeedFactor; + totalElapsedGTI += Game1.gameTimeInterval * (active / players); Game1.gameTimeInterval = 0; float averageGTI = playerTimeData.Sum(x => x.Value.GTI) / players; diff --git a/manifest.json b/manifest.json index 53fc02e..f1b7082 100644 --- a/manifest.json +++ b/manifest.json @@ -6,5 +6,5 @@ "UniqueID": "AdroSlice.Relativity", "EntryDll": "Relativity.dll", "MinimumApiVersion": "3.0.0", - "UpdateKeys": [] + "UpdateKeys": [ "Nexus:13028" ] } \ No newline at end of file