1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-06 00:23:49 +02:00

Fix global

This commit is contained in:
blubFisch 2022-10-10 12:56:37 +01:00
parent 60e37c60a9
commit 14a9cf040d

View File

@ -305,7 +305,7 @@ local function is_valid_location(force_name, surface, position)
end
end
town_count = 0
local town_count = 0
for _ in pairs(this.town_centers) do town_count = town_count + 1 end
if town_count > 48 then
surface.create_entity(