Fixes debug assertion crash when inserting cash (#34812)
This commit is contained in:
@@ -64,6 +64,7 @@ namespace Content.Server.Cargo.Systems
|
|||||||
_audio.PlayPvs(component.ConfirmSound, uid);
|
_audio.PlayPvs(component.ConfirmSound, uid);
|
||||||
UpdateBankAccount(stationUid.Value, bank, (int) price);
|
UpdateBankAccount(stationUid.Value, bank, (int) price);
|
||||||
QueueDel(args.Used);
|
QueueDel(args.Used);
|
||||||
|
args.Handled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnInit(EntityUid uid, CargoOrderConsoleComponent orderConsole, ComponentInit args)
|
private void OnInit(EntityUid uid, CargoOrderConsoleComponent orderConsole, ComponentInit args)
|
||||||
|
|||||||
Reference in New Issue
Block a user