Areas can have their own base turf type (#10765)

This commit is contained in:
unid15
2016-06-25 22:18:35 +02:00
committed by clusterfack
parent b3c277234e
commit 578a76b0bf
12 changed files with 634 additions and 613 deletions

View File

@@ -674,7 +674,7 @@
turfs_to_update += new_turf
//Delete the old turf
var/replacing_turf_type = get_base_turf(old_turf.z)
var/replacing_turf_type = old_turf.get_underlying_turf()
var/obj/docking_port/destination/D = linked_port.docked_with
if(D && istype(D)) replacing_turf_type = D.base_turf_type