Fixed some zone.remove() bugs:

Turf should be set back to no gas overlays.
Debug mode checks if zone actually contains turf
(might be useful in turf replacement.)
This commit is contained in:
Aryn
2014-02-21 03:54:45 -07:00
parent f0e4e27821
commit f95d0f9a98

View File

@@ -33,9 +33,11 @@
ASSERT(!invalid)
ASSERT(istype(T))
ASSERT(T.zone == src)
ASSERT(T in contents)
#endif
contents.Remove(T)
T.zone = null
T.set_graphic(0)
if(contents.len)
air.group_multiplier = contents.len
else