This commit is contained in:
2025-02-07 19:17:05 +09:00
parent 39dbcfeaca
commit 08fbb1fd84
2 changed files with 8 additions and 2 deletions

View File

@@ -114,7 +114,13 @@ local function spawn_entities(surface, position)
protect_entity(entity)
end
entity.operable = config.entities.operable
if entity then
entity.operable = config.entities.operable
if entity.name == "small-lamp" then
entity.always_on = true
end
end
end
end

View File

@@ -191,7 +191,7 @@ function Warps.make_warp_area(warp_id)
end
if entity.name == "small-lamp" then
warp.always_on = true
entity.always_on = true
end
end
end