mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
clean up jumpToNullSpace
This commit is contained in:
@@ -401,18 +401,13 @@
|
||||
if(!underlying_area)
|
||||
underlying_area = new underlying_area_type(null)
|
||||
|
||||
var/i
|
||||
for(i in 1 to old_turfs.len)
|
||||
for(var/i in 1 to old_turfs.len)
|
||||
var/turf/oldT = old_turfs[i]
|
||||
if(!oldT)
|
||||
continue
|
||||
var/area/old_area = oldT.loc
|
||||
underlying_area.contents += oldT
|
||||
oldT.change_area(old_area, underlying_area)
|
||||
for(i in 1 to old_turfs.len)
|
||||
var/turf/oldT = old_turfs[i]
|
||||
if(!oldT)
|
||||
continue
|
||||
oldT.empty(turf_type, baseturf_type)
|
||||
|
||||
qdel(src, force=TRUE)
|
||||
|
||||
Reference in New Issue
Block a user