Update all code styles

This commit is contained in:
Cooldude2606 committed 2024-11-19 22:29:35 +00:00
1 parent 5e2a62ab27
commit 292c1a1b68
194 files changed
+9815 -9701

No files matched your search

@@ -8,9 +8,9 @@ local delay = config.update_delay * 3600 -- convert from minutes to ticks
Event.on_nth_tick(delay, function()
local surface = game.surfaces[1]
local true_max = surface.get_pollution(config.reference_point)
local max = true_max*config.max_scalar
local min = max*config.min_scalar
local max = true_max * config.max_scalar
local min = max * config.min_scalar
local settings = game.map_settings.pollution
settings.expected_max_per_chunk = max
settings.min_to_show_per_chunk = min
end)
end)