mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
removed src arguments from new /obj/screen(src) as src was a datum anyway. This is to remove confusion.
When hud_used is deleted, references to those objects are removed, hence they are garbage collected. Removed some code from metroids which could possible delete global_hud objects which would cause problems. Added a verb to code/WorkInProgress/carn/debug_locnull.dm which prints all atoms with loc==null to world.log git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4774 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
7
code/WorkInProgress/carn/debug_locnull.dm
Normal file
7
code/WorkInProgress/carn/debug_locnull.dm
Normal file
@@ -0,0 +1,7 @@
|
||||
/client/verb/find_atoms_in_null()
|
||||
if(!holder) return
|
||||
var/msg
|
||||
for(var/atom/A)
|
||||
if(A.loc == null)
|
||||
msg += "\ref[A] [A.type] - [A]\n"
|
||||
world.log << msg
|
||||
Reference in New Issue
Block a user