mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01: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:
@@ -351,10 +351,7 @@ var/list/slot_equipment_priority = list( \
|
||||
if(!client)
|
||||
log_game("[usr.key] AM failed due to disconnect.")
|
||||
return
|
||||
for(var/obj/screen/t in usr.client.screen)
|
||||
if (t.loc == null)
|
||||
//t = null
|
||||
del(t)
|
||||
client.screen.Cut()
|
||||
if(!client)
|
||||
log_game("[usr.key] AM failed due to disconnect.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user