public method to add/subtract from cargo bank account (#9614)
This commit is contained in:
parent
98463fbcc9
commit
f88104ed4f
1 changed files with 5 additions and 0 deletions
|
|
@ -43,4 +43,9 @@ public sealed partial class CargoSystem : SharedCargoSystem
|
|||
UpdateConsole(frameTime);
|
||||
UpdateTelepad(frameTime);
|
||||
}
|
||||
|
||||
public void UpdateBankAccount(StationBankAccountComponent component, int BalanceAdded)
|
||||
{
|
||||
component.Balance += BalanceAdded;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue