update money when buy item and manufacturing, pethatch, petrec
This commit is contained in:
@@ -215,6 +215,9 @@ namespace BrewMonster.Scripts.Managers
|
||||
/// </summary>
|
||||
public void UpdateMoney(ulong amount, ulong maxAmount)
|
||||
{
|
||||
s_pendingMoneyAmount = amount;
|
||||
s_pendingMoneyMaxAmount = maxAmount;
|
||||
s_hasPendingMoney = true;
|
||||
string text = amount.ToString();
|
||||
if (moneyTextsLegacy != null)
|
||||
{
|
||||
@@ -241,6 +244,8 @@ namespace BrewMonster.Scripts.Managers
|
||||
/// </summary>
|
||||
public void UpdateCash(int amount)
|
||||
{
|
||||
s_pendingCashAmount = amount;
|
||||
s_hasPendingCash = true;
|
||||
string text = amount.ToString();
|
||||
if (cashTextsLegacy != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user