Merge pull request #4318 from Citadel-Station-13/upstream-merge-33424

[MIRROR] Standardization of return_ordered_turfs
This commit is contained in:
deathride58
2017-12-11 00:06:54 +00:00
committed by GitHub
2 changed files with 19 additions and 62 deletions
+2 -1
View File
@@ -318,7 +318,8 @@ obj/docking_port/stationary/public_mining_dock
qdel(Mport)
return
for(var/L in landing_turfs) //You land NEAR the base, not IN it.
for(var/i in 1 to landing_turfs.len) //You land NEAR the base, not IN it.
var/turf/L = landing_turfs[i]
if(!L) //This happens at map edges
to_chat(user, "<span class='warning'>Unable to secure a valid docking zone. Please try again in an open area near, but not within the aux. mining base.</span>")
SSshuttle.stationary.Remove(Mport)