mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-15 20:22:07 +00:00
Stop singularities from consuming themselves (#58987)
This bug was fixed by one of the connect_loc PRs, but this is still useful as it contains a CRASH for when it happens if this bug comes back again.
This commit is contained in:
@@ -130,6 +130,10 @@
|
||||
return COMPONENT_CANCEL_BLOB_ACT
|
||||
|
||||
/datum/component/singularity/proc/consume(datum/source, atom/thing)
|
||||
if (thing == parent)
|
||||
stack_trace("Singularity tried to consume itself.")
|
||||
return
|
||||
|
||||
consume_callback?.Invoke(thing, src)
|
||||
|
||||
/datum/component/singularity/proc/consume_attack(datum/source, mob/user)
|
||||
|
||||
Reference in New Issue
Block a user