mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 09:05:11 +01:00
Makes windows and grilles garbage collect. This will make fires a LOT less laggy. And singularities a bit.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -283,7 +283,7 @@
|
||||
air_update_turf(1)
|
||||
playsound(src, "shatter", 70, 1)
|
||||
update_nearby_icons()
|
||||
..()
|
||||
loc = null //garbage collect
|
||||
|
||||
|
||||
/obj/structure/window/Move()
|
||||
|
||||
Reference in New Issue
Block a user