mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes new_player hard del (#30885)
* Slays the Beast * Don't need this anymore
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user