From b6fa0bbf47c974a2bee6045922b7fd67d7218254 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Mon, 26 May 2025 18:06:53 -0500 Subject: [PATCH] Spaces to choices --- www/js/plugins/MPP_ChoiceEX_Op1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/plugins/MPP_ChoiceEX_Op1.js b/www/js/plugins/MPP_ChoiceEX_Op1.js index b2d73e3..38520c7 100644 --- a/www/js/plugins/MPP_ChoiceEX_Op1.js +++ b/www/js/plugins/MPP_ChoiceEX_Op1.js @@ -494,7 +494,7 @@ PluginManager[_registerCommandName](pluginName, 'addCustomChoice', args => { const id = PluginManager.mppValue(args.id) const choiceParams = { - text: args.choiceText, + text: args.choiceText.replace(/_/g, ' '), value: PluginManager.mppValue(args.returnValue) }; $gameSystem.addCustomChoice(id, choiceParams);