Return 0 if no int data found
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user