mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -45,12 +45,12 @@ 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 then
|
for _, c in pairs({'light', 'light_when_colored'}) do
|
||||||
v.light.color = {1, 1, 1}
|
if not v[c] then
|
||||||
end
|
v[c] = {}
|
||||||
|
end
|
||||||
|
|
||||||
if v.light_when_colored then
|
v[c].color = {1, 1, 1}
|
||||||
v.light_when_colored.color = {1, 1, 1}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user