diff --git a/code/datums/modules.dm b/code/datums/modules.dm index 029e426d29e..d01bded3254 100644 --- a/code/datums/modules.dm +++ b/code/datums/modules.dm @@ -25,6 +25,7 @@ var/list/modules = list( // global associative list if(!mneed) // not found in module list? qdel(src) // delete self, thus ending proc + return var/needed = mods.getbitmask(type) // get a bitmask for the number of modules in this object status = needed