Update Keys for nexusmods.com

This commit is contained in:
adro 2022-07-23 12:18:27 +02:00
parent ced0b5a10c
commit df7084b438
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -6,5 +6,5 @@
"UniqueID": "AdroSlice.Relativity",
"EntryDll": "Relativity.dll",
"MinimumApiVersion": "3.0.0",
"UpdateKeys": []
"UpdateKeys": [ "Nexus:13028" ]
}