-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glowshrooms runtime when disappearing #52099
Comments
Its trying to read off a deleted seed. When they make a new shroom patch, a reference to the planting seed is passed along, but when any shroom is deleted so is the seed. All the remaining shrooms now have a null seed. We could probably just not delete the seed here and hope GC takes care of it?
|
Okay. First test I tried to simply remove the middle two lines:
|
Thats an unrelated issue. Basically, spread is run on a timer that isnt stopped when its decayed and deleted. If you are removing the seed deletion, remove the entire proc as it now only serves to return parent which it does automagically. |
Alright. I tried removing the whole
It does remove the two runtimes described in this issue. Now to figure out how to get rid of the
because it's throwing them like crazy. |
Local testing.
Reproduction:
Runtime in glowshroom.dm,110: Cannot read null.potency
proc name: Spread (/obj/structure/glowshroom/proc/Spread)
usr: Angust/(Gus Banner)
usr.loc: (Bar (127,136,2))
src: the glowshroom (/obj/structure/glowshroom)
src.loc: null
call stack:
the glowshroom (/obj/structure/glowshroom): Spread()
/datum/callback (/datum/callback): Invoke()
world: PushUsr(Gus Banner (/mob/living/carbon/human), /datum/callback (/datum/callback))
/datum/callback (/datum/callback): InvokeAsync()
Timer (/datum/controller/subsystem/timer): fire(0)
Timer (/datum/controller/subsystem/timer): ignite(0)
Master (/datum/controller/master): RunQueue()
Master (/datum/controller/master): Loop()
Master (/datum/controller/master): StartProcessing(0)
tgstation/code/game/objects/effects/glowshroom.dm
Line 110 in 9f27b57
and
Runtime in glowshroom.dm,150: Cannot read null.yield
proc name: Spread (/obj/structure/glowshroom/proc/Spread)
usr: Angust/(Gus Banner)
usr.loc: (Bar (127,136,2))
src: the glowshroom (/obj/structure/glowshroom)
src.loc: null
call stack:
the glowshroom (/obj/structure/glowshroom): Spread()
/datum/callback (/datum/callback): Invoke()
world: PushUsr(Gus Banner (/mob/living/carbon/human), /datum/callback (/datum/callback))
/datum/callback (/datum/callback): InvokeAsync()
Timer (/datum/controller/subsystem/timer): fire(0)
Timer (/datum/controller/subsystem/timer): ignite(0)
Master (/datum/controller/master): RunQueue()
Master (/datum/controller/master): Loop()
Master (/datum/controller/master): StartProcessing(0)
tgstation/code/game/objects/effects/glowshroom.dm
Line 150 in 9f27b57
I'm planning to PR a fix for #52076 but I have no idea how to fix these unrelated runtimes. If it's super simple I'd gladly fix them at the same time but otherwise I'll just ignore them.
The text was updated successfully, but these errors were encountered: