mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] Fixes the foreach and filter circuit component [MDB IGNORE] (#9469)
* Fixes the foreach and filter circuit component (#62798) Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com> * Fixes the foreach and filter circuit component Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
This commit is contained in:
co-authored by
Watermelon914
Watermelon914
parent
97d1558209
commit
241d22ec4b
@@ -275,6 +275,12 @@
|
||||
/obj/item/circuit_component/proc/get_location()
|
||||
return get_turf(src) || get_turf(parent?.shell)
|
||||
|
||||
/obj/item/circuit_component/balloon_alert(mob/viewer, text)
|
||||
if(parent)
|
||||
return parent.balloon_alert(viewer, text)
|
||||
return ..()
|
||||
|
||||
|
||||
/// Called before input_received and should_receive_input. Used to perform behaviour that shouldn't care whether the input should be received or not.
|
||||
/obj/item/circuit_component/proc/pre_input_received(datum/port/input/port)
|
||||
SHOULD_NOT_SLEEP(TRUE)
|
||||
|
||||
Reference in New Issue
Block a user