diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm index 50c62a95804b..1ab88896accb 100644 --- a/code/game/machinery/doors/firedoor.dm +++ b/code/game/machinery/doors/firedoor.dm @@ -104,7 +104,7 @@ if(!welded && !operating && !(machine_stat & NOPOWER) && (!density || allow_hand_open(user))) user.visible_message("[user] tries to open \the [src] manually.", "You operate the manual lever on \the [src].") - if (!do_after(user, 30, src, TRUE)) + if (!do_after(user, 30, src)) return FALSE add_fingerprint(user) if(density) @@ -174,7 +174,7 @@ if(is_holding_pressure()) // tell the user that this is a bad idea, and have a do_after as well to_chat(user, "As you begin crowbarring \the [src] a gush of air blows in your face... maybe you should reconsider?") - if(!do_after(user, 20, src, TRUE)) // give them a few seconds to reconsider their decision. + if(!do_after(user, 20, src)) // give them a few seconds to reconsider their decision. return log_game("[key_name(user)] has opened a firelock with a pressure difference at [AREACOORD(loc)]") user.log_message("has opened a firelock with a pressure difference at [AREACOORD(loc)]", LOG_ATTACK) diff --git a/code/game/objects/items/survery_handheld.dm b/code/game/objects/items/survery_handheld.dm index 547bdc150237..a10097031485 100644 --- a/code/game/objects/items/survery_handheld.dm +++ b/code/game/objects/items/survery_handheld.dm @@ -51,7 +51,7 @@ src_turf.visible_message("Warning: unable to locate valuable information in current sector.") break - if(!do_after(user, list(src), survey_delay / penalty)) + if(!do_after(user, survey_delay / penalty, src)) flick(icon_state + "-corrupted", src) playsound(src, 'sound/machines/buzz-sigh.ogg', 20) src_turf.visible_message("Warning: results corrupted. Please try again.")