From f88104ed4fd0e58bef24fcdaa5e49304e216a6f6 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Sun, 10 Jul 2022 19:59:24 -0400 Subject: [PATCH] public method to add/subtract from cargo bank account (#9614) --- Content.Server/Cargo/Systems/CargoSystem.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Content.Server/Cargo/Systems/CargoSystem.cs b/Content.Server/Cargo/Systems/CargoSystem.cs index 695d0a55f1..bbd8fbaddc 100644 --- a/Content.Server/Cargo/Systems/CargoSystem.cs +++ b/Content.Server/Cargo/Systems/CargoSystem.cs @@ -43,4 +43,9 @@ public sealed partial class CargoSystem : SharedCargoSystem UpdateConsole(frameTime); UpdateTelepad(frameTime); } + + public void UpdateBankAccount(StationBankAccountComponent component, int BalanceAdded) + { + component.Balance += BalanceAdded; + } }