Fix drinking from openable containers (#29010)
This commit is contained in:
@@ -62,7 +62,7 @@ public sealed partial class OpenableSystem : EntitySystem
|
|||||||
if (args.Handled || !ent.Comp.OpenableByHand)
|
if (args.Handled || !ent.Comp.OpenableByHand)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
args.Handled = TryToggle(ent, args.User);
|
args.Handled = TryOpen(ent, ent, args.User);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnActivated(Entity<OpenableComponent> ent, ref ActivateInWorldEvent args)
|
private void OnActivated(Entity<OpenableComponent> ent, ref ActivateInWorldEvent args)
|
||||||
|
|||||||
Reference in New Issue
Block a user