]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Store Refund Fix (#26251)
authorkeronshb <54602815+keronshb@users.noreply.github.com>
Tue, 19 Mar 2024 03:48:52 +0000 (23:48 -0400)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2024 03:48:52 +0000 (23:48 -0400)
Removes else that accidentally enables refunds

Content.Server/Store/Systems/StoreSystem.Ui.cs

index 25b1cd1f6c0f2ac8ddcbe0ebb92ff906f2b53f79..281d8f57267ee35fc5822d687c9db6e4b89936da 100644 (file)
@@ -165,8 +165,6 @@ public sealed partial class StoreSystem
 
         if (!IsOnStartingMap(uid, component))
             component.RefundAllowed = false;
-        else
-            component.RefundAllowed = true;
 
         //subtract the cash
         foreach (var (currency, value) in listing.Cost)