Fix artifact point extraction going into negatives (#36642)

This commit is contained in:
Nemanja
2025-04-16 23:14:17 -04:00
committed by GitHub
parent eed374ffee
commit cc7df12996
2 changed files with 3 additions and 2 deletions

View File

@@ -39,7 +39,8 @@ public sealed class ArtifactAnalyzerSystem : SharedArtifactAnalyzerSystem
sumResearch += research;
}
if (sumResearch == 0)
// 4-16-25: It's a sad day when a scientist makes negative 5k research
if (sumResearch <= 0)
return;
_research.ModifyServerPoints(server.Value, sumResearch, serverComponent);