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:
@@ -60,7 +60,7 @@ namespace Content.Server.Eye.Blinding.EyeProtection
|
|||||||
}
|
}
|
||||||
private void OnWelderToggled(EntityUid uid, RequiresEyeProtectionComponent component, ItemToggledEvent args)
|
private void OnWelderToggled(EntityUid uid, RequiresEyeProtectionComponent component, ItemToggledEvent args)
|
||||||
{
|
{
|
||||||
component.Toggled = _itemToggle.IsActivated(uid);
|
component.Toggled = args.Activated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user