diff --git a/code/_helpers/type2type.dm b/code/_helpers/type2type.dm index 18960c5595f..908618128c1 100644 --- a/code/_helpers/type2type.dm +++ b/code/_helpers/type2type.dm @@ -566,5 +566,11 @@ var/path = key if(!ispath(path)) path = text2path(key) + if(!isnull(L[path])) + .[path] = L[path] + continue + if(!isnull(L[key])) + .[path] = L[key] + continue if(!isnull(path)) . += path