From bbd63b823012c275395f8474cad616e73359d600 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 28 Apr 2022 16:27:43 -0500 Subject: [PATCH] Fix GUI prompt --- scripts/server/client.js | 2 +- scripts/server/gui.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/server/client.js b/scripts/server/client.js index 7dec12ed..bbbe71ef 100644 --- a/scripts/server/client.js +++ b/scripts/server/client.js @@ -381,7 +381,7 @@ function showPlayerCharacterSelectFailedGUI(client) { // =========================================================================== -function showPlayerPrompt(client, promptMessage, promptTitle, yesButtonText, noButtonText) { +function showPlayerPromptGUI(client, promptMessage, promptTitle, yesButtonText, noButtonText) { logToConsole(LOG_DEBUG, `[VRR.Client] Sending show prompt GUI signal to ${getPlayerDisplayForConsole(client)} (Title: ${promptTitle}, Message: ${promptMessage})`); sendNetworkEventToPlayer("vrr.showPrompt", client, promptMessage, promptTitle, yesButtonText, noButtonText); } diff --git a/scripts/server/gui.js b/scripts/server/gui.js index 6afae940..b6b091d2 100644 --- a/scripts/server/gui.js +++ b/scripts/server/gui.js @@ -157,6 +157,4 @@ function showPlayerChangePasswordGUI(client) { function showPlayerTwoFactorAuthenticationGUI(client) { sendNetworkEventToPlayer("vrr.2fa", client); -} - -// =========================================================================== \ No newline at end of file +} \ No newline at end of file