diff --git a/PHI-CL/data.lua b/PHI-CL/data.lua index 438f140..da6c837 100644 --- a/PHI-CL/data.lua +++ b/PHI-CL/data.lua @@ -1406,10 +1406,10 @@ if settings.startup['PHI-CT'].value then entity.localised_description = {'entity-description.' .. v} for _, st in pairs({'direction_in', 'direction_out', 'direction_in_side_loading', 'direction_out_side_loading'}) do - entity[st].sheet.filename = items['general']['graphics_location'] .. v .. '.png' - entity[st].sheet.width = 106 - entity[st].sheet.height = 85 - entity[st].sheetshift = {0.15625, 0.0703125} + entity.structure[st].sheet.filename = items['general']['graphics_location'] .. v .. '.png' + entity.structure[st].sheet.width = 106 + entity.structure[st].sheet.height = 85 + entity.structure[st].sheetshift = {0.15625, 0.0703125} end entity.structure.direction_in.sheet.y = 85