]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fixes debug assertion crash when inserting cash (#34812)
authorPlykiya <58439124+Plykiya@users.noreply.github.com>
Sun, 2 Feb 2025 19:39:23 +0000 (11:39 -0800)
committerGitHub <noreply@github.com>
Sun, 2 Feb 2025 19:39:23 +0000 (20:39 +0100)
Content.Server/Cargo/Systems/CargoSystem.Orders.cs

index 9dbd2b88dcab2a89c0833bc3ac8819b9b1233d7d..2c86a5590a5625151bc74b02e72ad3c7174db2ff 100644 (file)
@@ -64,6 +64,7 @@ namespace Content.Server.Cargo.Systems
             _audio.PlayPvs(component.ConfirmSound, uid);
             UpdateBankAccount(stationUid.Value, bank, (int) price);
             QueueDel(args.Used);
+            args.Handled = true;
         }
 
         private void OnInit(EntityUid uid, CargoOrderConsoleComponent orderConsole, ComponentInit args)