Fix GUI prompt
This commit is contained in:
@@ -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})`);
|
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);
|
sendNetworkEventToPlayer("vrr.showPrompt", client, promptMessage, promptTitle, yesButtonText, noButtonText);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -158,5 +158,3 @@ function showPlayerChangePasswordGUI(client) {
|
|||||||
function showPlayerTwoFactorAuthenticationGUI(client) {
|
function showPlayerTwoFactorAuthenticationGUI(client) {
|
||||||
sendNetworkEventToPlayer("vrr.2fa", client);
|
sendNetworkEventToPlayer("vrr.2fa", client);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
Reference in New Issue
Block a user