public method to add/subtract from cargo bank account (#9614)

This commit is contained in:
Rane 2022-07-10 19:59:24 -04:00 committed by GitHub
parent 98463fbcc9
commit f88104ed4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,4 +43,9 @@ public sealed partial class CargoSystem : SharedCargoSystem
UpdateConsole(frameTime);
UpdateTelepad(frameTime);
}
public void UpdateBankAccount(StationBankAccountComponent component, int BalanceAdded)
{
component.Balance += BalanceAdded;
}
}