Fix for gotoloc cmd

This commit is contained in:
Vortrex
2022-12-17 14:48:35 -06:00
parent b0b99f2086
commit 913e36449a

View File

@@ -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;
}