From: Plykiya <58439124+Plykiya@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:39:23 +0000 (-0800) Subject: Fixes debug assertion crash when inserting cash (#34812) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=75e469738c222ebc4fc1c42507205fbde42f7dba;p=space-station-14.git Fixes debug assertion crash when inserting cash (#34812) --- diff --git a/Content.Server/Cargo/Systems/CargoSystem.Orders.cs b/Content.Server/Cargo/Systems/CargoSystem.Orders.cs index 9dbd2b88dc..2c86a5590a 100644 --- a/Content.Server/Cargo/Systems/CargoSystem.Orders.cs +++ b/Content.Server/Cargo/Systems/CargoSystem.Orders.cs @@ -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)