mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Merge pull request #9362 from ShadowLarkens/patch-1
Prevent cyclic neighbor references in spreading plants
This commit is contained in:
committed by
Chompstation Bot
parent
f86ac8eb30
commit
f92c8d9fc4
@@ -72,6 +72,7 @@
|
||||
var/obj/machinery/portable_atmospherics/hydroponics/soil/invisible/plant
|
||||
|
||||
/obj/effect/plant/Destroy()
|
||||
neighbors.Cut()
|
||||
if(seed.get_trait(TRAIT_SPREAD)==2)
|
||||
unsense_proximity(callback = .HasProximity, center = get_turf(src))
|
||||
SSplants.remove_plant(src)
|
||||
|
||||
Reference in New Issue
Block a user