From ecc9f73e314989068eb5cee5f225433df0c84243 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Mon, 9 Sep 2024 12:32:22 +0200 Subject: [PATCH] prefs loading again --- code/_helpers/type2type.dm | 6 ++++++ 1 file changed, 6 insertions(+) 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