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
This commit is contained in:
deathride58
2024-01-15 02:47:00 -05:00
committed by GitHub
parent 4edac6d055
commit 35e255b834

View File

@@ -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;
}
}
}