From 35e255b834bb7e5363b4243979969ff3422811b9 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 15 Jan 2024 02:47:00 -0500 Subject: [PATCH] Fixes the eye protection requirement of welding tools being inverted (#24106) After a power outage and a whole hour of fixing a broken .git: fixes welding tools having inverted toggle states for eye protection requirements --- .../Eye/Blinding/EyeProtection/EyeProtectionSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Eye/Blinding/EyeProtection/EyeProtectionSystem.cs b/Content.Server/Eye/Blinding/EyeProtection/EyeProtectionSystem.cs index 2fae9dd3c3..24ee2b7154 100644 --- a/Content.Server/Eye/Blinding/EyeProtection/EyeProtectionSystem.cs +++ b/Content.Server/Eye/Blinding/EyeProtection/EyeProtectionSystem.cs @@ -60,7 +60,7 @@ namespace Content.Server.Eye.Blinding.EyeProtection } private void OnWelderToggled(EntityUid uid, RequiresEyeProtectionComponent component, ItemToggledEvent args) { - component.Toggled = _itemToggle.IsActivated(uid); + component.Toggled = args.Activated; } } }