From edfe7220c465c3db6fe4ee62022132e9b69770a1 Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Fri, 5 Mar 2021 15:45:57 +0800 Subject: [PATCH] lintfix --- code/datums/components/material_container.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/material_container.dm b/code/datums/components/material_container.dm index 24f043db36..baf6d81e0f 100644 --- a/code/datums/components/material_container.dm +++ b/code/datums/components/material_container.dm @@ -182,7 +182,7 @@ /datum/component/material_container/proc/can_hold_material(datum/material/mat) if(mat in allowed_typecache) return TRUE - if(istype(mat) && (((mat.id in allowed_typecache) ||mat.type in allowed_materials))) + if(istype(mat) && ((mat.id in allowed_typecache) || (mat.type in allowed_materials))) allowed_materials += mat // This could get messy with passing lists by ref... but if you're doing that the list expansion is probably being taken care of elsewhere anyway... return TRUE // if(insertion_check?.Invoke(mat))