mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] fix a potential server crash (#9598)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dc639a7a1f
commit
4257ad7ab5
@@ -57,7 +57,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))
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user