From c6baa2083f3b4e4d73db188eaf6475389f73db65 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:48:37 +0200 Subject: [PATCH] we load it from a file, that path might no longer exist --- code/modules/client/preference_setup/loadout/gear_tweaks.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/client/preference_setup/loadout/gear_tweaks.dm b/code/modules/client/preference_setup/loadout/gear_tweaks.dm index f371fac6c1..3fe07dd5fa 100644 --- a/code/modules/client/preference_setup/loadout/gear_tweaks.dm +++ b/code/modules/client/preference_setup/loadout/gear_tweaks.dm @@ -151,7 +151,8 @@ GLOBAL_DATUM_INIT(gear_tweak_free_matrix_recolor, /datum/gear_tweak/matrix_recol continue else path = contents[metadata[i]] - new path(I) + if(path) + new path(I) /* * Ragent adjustment