Standardize coin variables, prevent coins not refreshing on skin change. (#1904)

* Standardize coin variables, prevent coins not refreshing on skin change.

* Add missing commit
This commit is contained in:
oiad
2017-03-12 07:05:34 +13:00
committed by ebayShopper
parent 6871da6168
commit 2ec5390b70
4 changed files with 22 additions and 10 deletions

View File

@@ -36,8 +36,8 @@ _medical = [];
_distanceFoot = 0;
//all getVariable immediately
_globalCoins = _character getVariable ["GlobalMoney", -1];
_bankCoins = _character getVariable ["MoneySpecial", -1];
_globalCoins = _character getVariable [Z_globalVariable, -1];
_bankCoins = _character getVariable [Z_BankVariable, -1];
_coins = _character getVariable [Z_MoneyVariable, -1]; //should getting coins fail set the variable to an invalid value to prevent overwritting the in the DB
_lastPos = _character getVariable ["lastPos",_charPos];
_usec_Dead = _character getVariable ["USEC_isDead",false];