Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
FixVendMachine
Browse files Browse the repository at this point in the history
  • Loading branch information
NEirotoXiN committed Jun 18, 2024
1 parent 4c17cb4 commit b717543
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Server/VendingMachines/VendingMachineSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ private void OnPowerChanged(EntityUid uid, VendingMachineComponent component, re
private void OnBreak(EntityUid uid, VendingMachineComponent vendComponent, BreakageEventArgs eventArgs)
{
vendComponent.Broken = true;
_userInterfaceSystem.CloseUi(uid, VendingMachineUiKey.Key);
TryUpdateVisualState(uid, vendComponent);
EnsureComp<WeldableComponent>(uid);
}
Expand Down

0 comments on commit b717543

Please sign in to comment.