mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user