mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user