mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Improved shuttle performance, fixed hard dels, fixed carpets becoming plating (#27384)
This commit is contained in:
@@ -689,18 +689,6 @@
|
||||
if(!AM.can_shuttle_move(src))
|
||||
AM.change_area(linked_area,refill_area)
|
||||
|
||||
//****Move all variables from the old turf over to the new turf****
|
||||
|
||||
for(var/key in old_turf.vars)
|
||||
if(key in ignored_keys)
|
||||
continue
|
||||
//ignored_keys: code/game/area/areas.dm, 526 (above the move_contents_to proc)
|
||||
//as of 06/08/2015: list("loc", "locs", "parent_type", "vars", "verbs", "type", "x", "y", "z","group","contents","air","light","areaMaster","underlays","lighting_overlay")
|
||||
if(istype(old_turf.vars[key],/list))
|
||||
var/list/L = old_turf.vars[key]
|
||||
new_turf.vars[key] = L.Copy()
|
||||
else if(old_turf.vars)
|
||||
new_turf.vars[key] = old_turf.vars[key]
|
||||
if(old_turf.transform)
|
||||
new_turf.transform = old_turf.transform
|
||||
|
||||
|
||||
Reference in New Issue
Block a user