Update to version 0.3.5; Fixed pollution reporting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user