From 913e36449a2fae10388302025dbb753d9fe908b0 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sat, 17 Dec 2022 14:48:35 -0600 Subject: [PATCH] Fix for gotoloc cmd --- scripts/server/staff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/staff.js b/scripts/server/staff.js index c8094199..c5d56034 100644 --- a/scripts/server/staff.js +++ b/scripts/server/staff.js @@ -504,7 +504,7 @@ function gotoGameLocationCommand(command, params, client) { let gameLocationId = getGameLocationFromParams(params); - if (gameLocationId == false) { + if (gameLocationId == -1) { messagePlayerError(client, "That game location doesn't exist!"); return false; }