From d4a02662ef9bcacd58f89c552e6825354cc0afae Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 20 Apr 2021 21:33:51 -0500 Subject: [PATCH] Return 0 if no int data found --- scripts/server/native.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/server/native.js b/scripts/server/native.js index 473c1950..2aaf8cb7 100644 --- a/scripts/server/native.js +++ b/scripts/server/native.js @@ -75,6 +75,8 @@ function getPlayerInterior(client) { return getPlayerCurrentSubAccount(client).interior; } } + + return 0; } // =========================================================================== @@ -233,7 +235,6 @@ function takePlayerCash(client, amount) { updatePlayerCash(client); } - // =========================================================================== function disconnectPlayer(client) {