Use new prompt util (in case GUI is disabled)

This commit is contained in:
Vortrex
2022-04-18 20:58:04 -05:00
parent 5ef6b4fe29
commit 55b2c9e22c
3 changed files with 4 additions and 40 deletions

View File

@@ -381,7 +381,7 @@ function showPlayerCharacterSelectFailedGUI(client) {
// ===========================================================================
function showPlayerPromptGUI(client, promptMessage, promptTitle, yesButtonText, noButtonText) {
function showPlayerPrompt(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);
}