Skip to content

Commit

Permalink
Update main.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
AirwavesMan committed Apr 12, 2021
1 parent 13713bc commit cc6d539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spawn/main.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ if (class_selection && !_isPZombie) then {
default {0};
};

_wealth = _player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0];
_wealth = player getVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),0];
if (_wealth < _coins) then {
player setVariable [(["cashMoney","globalMoney"] select Z_persistentMoney),(_wealth + _coins),true];
};
Expand Down

0 comments on commit cc6d539

Please sign in to comment.