diff --git a/code/modules/mining/equipment/survival_pod.dm b/code/modules/mining/equipment/survival_pod.dm index 8cf1657d19f..86ed5eec0d4 100644 --- a/code/modules/mining/equipment/survival_pod.dm +++ b/code/modules/mining/equipment/survival_pod.dm @@ -42,16 +42,17 @@ // Can't grab when capsule is New() because templates aren't loaded then get_template() if(used == FALSE) - var/turf/UT = get_turf(usr) - if((UT.z == level_name_to_num(MAIN_STATION)) && !emagged) - to_chat(usr, "Error. Deployment was attempted on the station sector. Deployment aborted.") - playsound(usr, 'sound/machines/terminal_error.ogg', 15, TRUE) - return loc.visible_message("[src] begins to shake. Stand back!") used = TRUE sleep(50) var/turf/deploy_location = get_turf(src) var/status = template.check_deploy(deploy_location) + var/turf/UT = get_turf(usr) + if((UT.z == level_name_to_num(MAIN_STATION)) && !emagged) + to_chat(usr, "Error. Deployment was attempted on the station sector. Deployment aborted.") + playsound(usr, 'sound/machines/terminal_error.ogg', 15, TRUE) + used = FALSE + return switch(status) if(SHELTER_DEPLOY_BAD_AREA) loc.visible_message("[src] will not function in this area.")