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