From ffff7f885de05742857588ef171416cc8063094a Mon Sep 17 00:00:00 2001 From: keronshb Date: Mon, 18 Mar 2024 21:09:53 -0400 Subject: [PATCH] Removes else that accidentally enables refunds --- Content.Server/Store/Systems/StoreSystem.Ui.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Content.Server/Store/Systems/StoreSystem.Ui.cs b/Content.Server/Store/Systems/StoreSystem.Ui.cs index 25b1cd1f6c0f2a..281d8f57267ee3 100644 --- a/Content.Server/Store/Systems/StoreSystem.Ui.cs +++ b/Content.Server/Store/Systems/StoreSystem.Ui.cs @@ -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)