From c1e9e59a19d483ac5d87b94dd7c727dececf2514 Mon Sep 17 00:00:00 2001 From: Morrow Date: Mon, 11 Sep 2023 01:45:38 -0400 Subject: [PATCH] Review --- code/datums/emergency_calls/cryo_spec.dm | 5 +++-- code/modules/cm_tech/techs/marine/tier3/cryo_spec.dm | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/code/datums/emergency_calls/cryo_spec.dm b/code/datums/emergency_calls/cryo_spec.dm index ad6315781c8a..6cc7c905efbc 100644 --- a/code/datums/emergency_calls/cryo_spec.dm +++ b/code/datums/emergency_calls/cryo_spec.dm @@ -9,12 +9,13 @@ spawn_max_amount = TRUE /datum/emergency_call/cryo_spec/create_member(datum/mind/mind, turf/override_spawn_loc) - set waitfor = 0 + set waitfor = FALSE if(SSmapping.configs[GROUND_MAP].map_name == MAP_WHISKEY_OUTPOST) name_of_spawn = /obj/effect/landmark/ert_spawns/distress_wo var/turf/spawn_loc = override_spawn_loc ? override_spawn_loc : get_spawn_point() - if(!istype(spawn_loc)) return //Didn't find a useable spawn point. + if(!istype(spawn_loc)) + return //Didn't find a useable spawn point. var/mob/living/carbon/human/human = new(spawn_loc) diff --git a/code/modules/cm_tech/techs/marine/tier3/cryo_spec.dm b/code/modules/cm_tech/techs/marine/tier3/cryo_spec.dm index 2a7fb65bc578..98736d105a83 100644 --- a/code/modules/cm_tech/techs/marine/tier3/cryo_spec.dm +++ b/code/modules/cm_tech/techs/marine/tier3/cryo_spec.dm @@ -11,12 +11,12 @@ flags = TREE_FLAG_MARINE tier = /datum/tier/three -/datum/tech/cryomarine/can_unlock(mob/M) +/datum/tech/cryomarine/can_unlock(mob/user) . = ..() if(!.) return if(!SSticker.mode) - to_chat(M, SPAN_WARNING("You can't do this right now!")) + to_chat(user, SPAN_WARNING("You can't do this right now!")) return /datum/tech/cryomarine/on_unlock()