mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
[MIRROR] Renames the change_area proc to be more accurate [MDB IGNORE] (#12372)
* Renames the `change_area` proc to be more accurate (#65758) * Renames the `change_area` proc to be more accurate Co-authored-by: Seth Scherer <supernovaa41@gmx.com>
This commit is contained in:
@@ -170,7 +170,7 @@ All ShuttleMove procs go here
|
||||
|
||||
contents -= oldT
|
||||
underlying_old_area.contents += oldT
|
||||
oldT.change_area(src, underlying_old_area)
|
||||
oldT.transfer_area_lighting(src, underlying_old_area)
|
||||
//The old turf has now been given back to the area that turf originaly belonged to
|
||||
|
||||
var/area/old_dest_area = newT.loc
|
||||
@@ -178,7 +178,7 @@ All ShuttleMove procs go here
|
||||
|
||||
old_dest_area.contents -= newT
|
||||
contents += newT
|
||||
newT.change_area(old_dest_area, src)
|
||||
newT.transfer_area_lighting(old_dest_area, src)
|
||||
return TRUE
|
||||
|
||||
// Called on areas after everything has been moved
|
||||
|
||||
@@ -629,7 +629,7 @@
|
||||
continue
|
||||
var/area/old_area = oldT.loc
|
||||
underlying_area.contents += oldT
|
||||
oldT.change_area(old_area, underlying_area)
|
||||
oldT.transfer_area_lighting(old_area, underlying_area)
|
||||
oldT.empty(FALSE)
|
||||
|
||||
// Here we locate the bottommost shuttle boundary and remove all turfs above it
|
||||
|
||||
Reference in New Issue
Block a user