Fix drinking from openable containers (#29010)

This commit is contained in:
Nemanja 2024-06-15 01:20:42 -04:00 committed by null
parent f97235b8b3
commit 74d28f2e28
No known key found for this signature in database
GPG Key ID: 212F05528FD678BE
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public sealed partial class OpenableSystem : EntitySystem
if (args.Handled || !ent.Comp.OpenableByHand)
return;
args.Handled = TryToggle(ent, args.User);
args.Handled = TryOpen(ent, ent, args.User);
}
private void OnActivated(Entity<OpenableComponent> ent, ref ActivateInWorldEvent args)