Makes windows and grilles garbage collect. This will make fires a LOT less laggy. And singularities a bit.

This commit is contained in:
Aranclanos
2013-08-23 09:42:50 -03:00
parent cc1e3d2b6d
commit 69c85fa4e9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -12,6 +12,8 @@
var/health = 10
var/destroyed = 0
/obj/structure/grille/Del()
loc = null //garbage collect
/obj/structure/grille/ex_act(severity)
del(src)
+1 -1
View File
@@ -283,7 +283,7 @@
air_update_turf(1)
playsound(src, "shatter", 70, 1)
update_nearby_icons()
..()
loc = null //garbage collect
/obj/structure/window/Move()