mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-11-15 05:34:52 +09:00
.
This commit is contained in:
1 parent
cc8e9c248f
commit
98430eabcb
1 file changed
+2
-9
@@ -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