mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes players not being removed from the manifest immediately when cryoing.
* The cryopod simply qdel's the datacore records. Old garbage.dm hard-del()'d datums, so it was fine. Now we need to make sure they are actually removed from the data_core. * Testing shows this fixes #1713 and in most cases the objects also GC cleanly. However some older computers still retain hard references to data_core entries. But even in the cases where that prevents a clean GC, the player is still removed from the manifest successfully and promptly, so that can wait.
This commit is contained in:
@@ -180,6 +180,8 @@
|
||||
return "[..()] ([ckey])"
|
||||
|
||||
/proc/log_info_line(var/datum/d)
|
||||
if(!d)
|
||||
return "*null*"
|
||||
if(!istype(d))
|
||||
return
|
||||
return json_encode(d)
|
||||
return d.log_info_line()
|
||||
|
||||
Reference in New Issue
Block a user