From c44f4603c4366e10970c9ae9b1008bdf650e3218 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Sat, 7 Dec 2024 21:56:39 +0100 Subject: [PATCH] actually log it --- code/modules/persistence/storage/smartfridge.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/persistence/storage/smartfridge.dm b/code/modules/persistence/storage/smartfridge.dm index 70e154c9ec..fd019cfa13 100644 --- a/code/modules/persistence/storage/smartfridge.dm +++ b/code/modules/persistence/storage/smartfridge.dm @@ -55,9 +55,7 @@ . = list() for(var/obj/item/stack/material/S as anything in L) var/real_path = istext(S) ? text2path(S) : S - if(ispath(real_path, /obj/item/stack/material/cyborg)) - continue - if(!ispath(real_path, /obj/item/stack/material)) + if(!ispath(real_path, /obj/item/stack/material) || ispath(real_path, /obj/item/stack/material/cyborg)) log_debug("Warning: Sheet_storage persistent datum tried to create [S]") continue