Area fixes (#2875)

changes:

Fixes copy_contents_to not working.
Fixes elevators attempting to spawn roofs when it didn't really make sense.
Minor efficiency tweaks in move_contents_to and elevators.
This commit is contained in:
Lohikar
2017-06-30 13:09:19 +03:00
committed by skull132
parent 12ed198d97
commit 84f2ec8105
5 changed files with 12 additions and 18 deletions
@@ -5,6 +5,7 @@
requires_power = 0
station_area = 1
sound_env = SMALL_ENCLOSED
no_roof = TRUE
var/lift_floor_label = null
var/lift_floor_name = null
+1 -1
View File
@@ -128,7 +128,7 @@
for(var/i = 1, i < uz, i++)
lift.floors += null // This silly hack allows lifts to not start on the first zlevel
for(var/cz = uz;cz<=ez;cz++)
for(var/cz = uz to ez)
var/datum/turbolift_floor/cfloor = new()
lift.floors += cfloor