From 8a52de839c59ab0bd988b72009752bfeafef6b38 Mon Sep 17 00:00:00 2001 From: KandreyKandrey <126669846+KandreyKandrey@users.noreply.github.com> Date: Mon, 29 Jan 2024 08:07:47 +0300 Subject: [PATCH] Update RCD.dm (#12778) --- code/game/objects/items/weapons/RCD.dm | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/code/game/objects/items/weapons/RCD.dm b/code/game/objects/items/weapons/RCD.dm index 6fe1133cb0d1..cadda06988d4 100644 --- a/code/game/objects/items/weapons/RCD.dm +++ b/code/game/objects/items/weapons/RCD.dm @@ -214,9 +214,7 @@ RCD return TRUE /obj/item/weapon/rcd/tool_start_check(mob/user, amount) - . = ..() - if(.) - return matter >= amount + return matter >= amount /obj/item/weapon/rcd/borg/use(amount, mob/user) if(!isrobot(user)) @@ -224,11 +222,9 @@ RCD return user:cell:use(amount * 30) /obj/item/weapon/rcd/borg/tool_start_check(mob/user, amount) - . = ..() - if(.) - if(!isrobot(user)) - return FALSE - return user:cell:charge >= (amount * 30) + if(!isrobot(user)) + return FALSE + return user:cell:charge >= (amount * 30) /obj/item/weapon/rcd/borg/atom_init() . = ..()