From b39487c9384b1758a329fbc396851e84e753e068 Mon Sep 17 00:00:00 2001 From: forest2001 <41653574+realforest2001@users.noreply.github.com> Date: Sat, 5 Aug 2023 18:06:48 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: harryob --- code/game/machinery/biohazard_lockdown.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/biohazard_lockdown.dm b/code/game/machinery/biohazard_lockdown.dm index 55cc742d76f5..925b72466036 100644 --- a/code/game/machinery/biohazard_lockdown.dm +++ b/code/game/machinery/biohazard_lockdown.dm @@ -18,8 +18,8 @@ GLOBAL_VAR_INIT(lockdown_state, LOCKDOWN_READY) /obj/structure/machinery/biohazard_lockdown/attack_alien(mob/user as mob) return FALSE -/obj/structure/machinery/biohazard_lockdown/attackby(obj/item/W, mob/user as mob) - return src.attack_hand(user) +/obj/structure/machinery/biohazard_lockdown/attackby(obj/item/attacking_item, mob/user) + return attack_hand(user) /obj/structure/machinery/biohazard_lockdown/attack_hand(mob/living/user) if(isxeno(user))