Fixes debug assertion crash when inserting cash (#34812)

This commit is contained in:
Plykiya
2025-02-02 11:39:23 -08:00
committed by GitHub
parent 28709fdc72
commit 75e469738c

View 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)