Return 0 if no int data found

This commit is contained in:
Vortrex
2021-04-20 21:33:51 -05:00
parent b691e77c4a
commit d4a02662ef

View File

@@ -75,6 +75,8 @@ function getPlayerInterior(client) {
return getPlayerCurrentSubAccount(client).interior; return getPlayerCurrentSubAccount(client).interior;
} }
} }
return 0;
} }
// =========================================================================== // ===========================================================================
@@ -233,7 +235,6 @@ function takePlayerCash(client, amount) {
updatePlayerCash(client); updatePlayerCash(client);
} }
// =========================================================================== // ===========================================================================
function disconnectPlayer(client) { function disconnectPlayer(client) {