Fixes new_player hard del (#30885)

* Slays the Beast

* Don't need this anymore
This commit is contained in:
Exxion
2021-09-24 19:58:15 -04:00
committed by GitHub
parent 446a29e3ef
commit de7b8a72fd
2 changed files with 1 additions and 3 deletions

View File

@@ -142,9 +142,6 @@ List of hard deletions:"}
#define FINDREF_OUTPUT(msg) to_chat(world, msg);testing(msg)
/datum/subsystem/garbage/proc/FindRef(datum/D)
if(istype(D, world.mob))
FINDREF_OUTPUT("GC: Skipping FindRef for default mob [ref(D)] [D] | [D.type]. Thanks BYOND.")
return
FINDREF_OUTPUT("GC: Searching references for [ref(D)] [D] | [D.type]")
if(istype(D, /atom/movable))
var/atom/movable/A = D

View File

@@ -147,6 +147,7 @@ For the main html chat area
/datum/chatOutput/proc/pingLoop()
set waitfor = FALSE
usr = null //Otherwise this holds a reference to the new_player and causes it to hard del
while (owner)
ehjax_send(data = owner.is_afk(29 SECONDS) ? "softPang" : "pang") // SoftPang isn't handled anywhere but it'll always reset the opts.lastPang.