-Small tweak to /atom/DblClick. The dummy will be garbage collected instead, hopefully this will help performance. I'm concerned that somehow other code will reference the Dummy, stopping it from being garbage collected. I think that the small occurrences that this could will not be game breaking or affect anything.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4737 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
giacomand@gmail.com
2012-09-23 05:17:54 +00:00
parent 37cd7537a5
commit 73aebb51a7
2 changed files with 23 additions and 3 deletions

View File

@@ -762,7 +762,10 @@ mob/living/carbon/metroid/var/temperature_resistance = T0C+75
if(!border_obstacle.CanPass(D, D.loc, 1, 0))
ok = 0
del(D)
//del(D)
//Garbage Collect Dummy
D.loc = null
D = null
if (!( ok ))
return 0