From 0079ca12cb378cde9e3b1d517ea7c8e336af4632 Mon Sep 17 00:00:00 2001 From: forest2001 Date: Wed, 17 Apr 2024 02:02:39 +0100 Subject: [PATCH] Fix for stupid forest. --- code/game/objects/items/devices/defibrillator.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/defibrillator.dm b/code/game/objects/items/devices/defibrillator.dm index b7ca79b7b9b2..e3509ebfb338 100644 --- a/code/game/objects/items/devices/defibrillator.dm +++ b/code/game/objects/items/devices/defibrillator.dm @@ -87,7 +87,7 @@ //Job knowledge requirement if(istype(user)) if(!skillcheck(user, skill_to_check, skill_level)) - if(skill_to_check_alt && !skillcheck(user, skill_to_check_alt, skill_level_alt)) + if(!skill_to_check_alt || (!skillcheck(user, skill_to_check_alt, skill_level_alt))) to_chat(user, SPAN_WARNING("You don't seem to know how to use [src]...")) return