mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-06 00:23:49 +02:00
Fix global
This commit is contained in:
parent
60e37c60a9
commit
14a9cf040d
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user