Spaces to choices

This commit is contained in:
dazedanon 2025-05-26 18:06:53 -05:00
parent ddc4a065cb
commit b6fa0bbf47

View file

@ -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);