Skip to content

Commit

Permalink
Removes else that accidentally enables refunds
Browse files Browse the repository at this point in the history
  • Loading branch information
keronshb committed Mar 19, 2024
1 parent 6b966f6 commit ffff7f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Content.Server/Store/Systems/StoreSystem.Ui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ private void OnBuyRequest(EntityUid uid, StoreComponent component, StoreBuyListi

if (!IsOnStartingMap(uid, component))
component.RefundAllowed = false;
else
component.RefundAllowed = true;

//subtract the cash
foreach (var (currency, value) in listing.Cost)
Expand Down

0 comments on commit ffff7f8

Please sign in to comment.