Assets/Scripts/Core/Economy/Currency.cs
@@ -12,6 +12,8 @@ /// </summary> public int currentCurrency { get; private set; } public int lastCurrency { get; private set; } /// <summary> /// Occurs when currency changed. /// </summary> @@ -68,6 +70,7 @@ { if (increment != 0) { lastCurrency = currentCurrency; currentCurrency += increment; if (currencyChanged != null) {