Private
Public Access
1
0

Update to version 0.3.5; Fixed pollution reporting

This commit is contained in:
Jan Grießhaber
2026-01-06 17:02:06 +01:00
parent 3b4e44aab9
commit dd6856016c
3 changed files with 6 additions and 6 deletions

View File

@@ -57,10 +57,10 @@ function GetEvolution()
for _, surface in pairs(game.surfaces) do
evolutionParts[#evolutionParts + 1] = ("%s:%d:%d:%d:%d"):format(
surface.name,
playerForce.get_evolution_factor(surface),
playerForce.get_evolution_factor_by_pollution(surface),
playerForce.get_evolution_factor_by_time(surface),
playerForce.get_evolution_factor_by_killing_spawners(surface))
playerForce.get_evolution_factor(surface.index),
playerForce.get_evolution_factor_by_pollution(surface.index),
playerForce.get_evolution_factor_by_time(surface.index),
playerForce.get_evolution_factor_by_killing_spawners(surface.index))
end
return table.concat(evolutionParts, "\n")
end