This commit is contained in:
2025-04-11 14:54:07 +09:00
parent 7c8c9a7670
commit db17762682

View File

@@ -87,7 +87,7 @@ if settings.startup['PHI-CT'].value then
end
function gui_update(player, inserter)
if not (inserter.allow_custom_vectors or inserter.supports_direction) then
if not (inserter.supports_direction or ((inserter.prototype and inserter.prototype.allow_custom_vectors) or (inserter.ghost_prototype and inserter.ghost_prototype.allow_custom_vectors))) then
return
end