fix bank money
This commit is contained in:
@@ -110,6 +110,9 @@ export default function (globalData: IGlobalData): void {
|
||||
});
|
||||
|
||||
mp.events.add("updateMoney", (money) => {
|
||||
if (money == undefined)
|
||||
money = 0;
|
||||
|
||||
playerMoney = moneyFormat(money);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user