[MIRROR] Port material containers to datum components (#2562)
* Port material containers to datum components * Fixes Rej
This commit is contained in:
committed by
Poojawa
parent
a4c92a8155
commit
32300086d5
@@ -0,0 +1,6 @@
|
||||
//These components require a powered machine as a parent to run
|
||||
/datum/component/powered
|
||||
|
||||
/datum/component/powered/ReceiveSignal(sigtype, list/sig_args, async)
|
||||
var/obj/machinery/M = parent
|
||||
return M.is_operational() && ..()
|
||||
Reference in New Issue
Block a user