From f8ff02b9bedba3f6b6a9db34d0f5ca63b82bf41f Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 18 Dec 2022 15:22:50 -0600 Subject: [PATCH] Wrong locale string for GUI window title --- scripts/server/prompt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/server/prompt.js b/scripts/server/prompt.js index d0deb478..5a555cae 100644 --- a/scripts/server/prompt.js +++ b/scripts/server/prompt.js @@ -46,7 +46,7 @@ function playerPromptAnswerNo(client) { case AGRP_PROMPT_BIZORDER: if (getPlayerData(client).businessOrderAmount > 0) { if (doesPlayerUseGUI(client)) { - showPlayerErrorGUI(client, getLocaleString(client, "BusinessOrderCanceled"), getLocaleString(client, "Alert")); + showPlayerErrorGUI(client, getLocaleString(client, "BusinessOrderCanceled"), getLocaleString(client, "GUIWarning")); } else { logToConsole(LOG_DEBUG, `${getPlayerDisplayForConsole(client)} canceled the order of ${getPlayerData(client).businessOrderAmount} ${getPlayerData(client).businessOrderItem} at ${getPlayerData(client).businessOrderCost / getPlayerData(client).businessOrderAmount} each for business ${getBusinessData(getPlayerData(client).businessOrderBusiness)}`); messagePlayerError(client, getLocaleString(client, "BusinessOrderCanceled"));