fix wieldable guns not being able to cycle inhand (#27307)
* Add UnwieldOverride variable that overrides unwielding inhand to enable other interactions * Give LMGs UnwieldOverride * logically inverted UnwieldOverride to UnwieldOnUse * fixed typo
This commit is contained in:
@@ -125,7 +125,7 @@ public sealed class WieldableSystem : EntitySystem
|
||||
|
||||
if (!component.Wielded)
|
||||
args.Handled = TryWield(uid, component, args.User);
|
||||
else
|
||||
else if (component.UnwieldOnUse)
|
||||
args.Handled = TryUnwield(uid, component, args.User);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user