From 491a1f3b608ac9a41b5720edd371d5da80b98523 Mon Sep 17 00:00:00 2001 From: Rane <60792108+Elijahrane@users.noreply.github.com> Date: Fri, 15 Jul 2022 09:20:35 -0400 Subject: [PATCH] Add public method to update cargo bank account (again) (#9761) --- Content.Server/Cargo/Systems/CargoSystem.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Content.Server/Cargo/Systems/CargoSystem.cs b/Content.Server/Cargo/Systems/CargoSystem.cs index 695d0a55f1..a6401ad839 100644 --- a/Content.Server/Cargo/Systems/CargoSystem.cs +++ b/Content.Server/Cargo/Systems/CargoSystem.cs @@ -43,4 +43,10 @@ public sealed partial class CargoSystem : SharedCargoSystem UpdateConsole(frameTime); UpdateTelepad(frameTime); } + + // please don't delete this thank you + public void UpdateBankAccount(StationBankAccountComponent component, int BalanceAdded) + { + component.Balance += BalanceAdded; + } }