From 7749dceafbd1099f09b2a949687e58fd5931aa39 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 20 Jun 2026 01:17:47 +0900 Subject: [PATCH] . --- PHI-CL/data/b/mbm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PHI-CL/data/b/mbm.lua b/PHI-CL/data/b/mbm.lua index 01d41be..8a87408 100644 --- a/PHI-CL/data/b/mbm.lua +++ b/PHI-CL/data/b/mbm.lua @@ -74,8 +74,8 @@ function main_entity(source, tier) elseif (source.name == 'oil-refinery' or source.name == 'chemical-plant' or source.name == 'crusher') then if item['graphics_set'] and item['graphics_set']['animation'] then for _, d in pairs({'north', 'east', 'south', 'west'}) do - if item['graphics_set']['animation'][d] then - for _, l in pairs(item['graphics_set']['animation'][d]) do + if item['graphics_set']['animation'][d] and item['graphics_set']['animation'][d].layers then + for _, l in pairs(item['graphics_set']['animation'][d].layers) do if not l.draw_as_shadow then l.tint = mod_tint[tier] end