mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-06-27 05:46:22 +09:00
.
This commit is contained in:
@@ -45,7 +45,7 @@ end
|
||||
-- MI C 1 BASE ENTITY
|
||||
if data.raw['lamp'] then
|
||||
for _, v in pairs(data.raw['lamp']) do
|
||||
if v.light and v.light.color then
|
||||
if v.light then
|
||||
v.light.color = {1, 1, 1}
|
||||
end
|
||||
|
||||
@@ -58,14 +58,7 @@ end
|
||||
-- MI C 1 BASE ENTITY
|
||||
if data.raw['land-mine'] then
|
||||
for _, v in pairs(data.raw['land-mine']) do
|
||||
if v.flags then
|
||||
for fk, fv in ipairs(v.flags) do
|
||||
if fv == 'placeable-off-grid' then
|
||||
table.remove(v.flags, fk)
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
v.flags = {'placeable-player', 'placeable-enemy', 'player-creation', 'not-on-map'}
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user