Closed morvael closed 1 month ago
PROMPT_ADD_OPTION should allow null as last argument:
["PROMPT_ADD_OPTION", "$TARGET_PLAYER", "Cancel.", "X", null]
to be the equivalent of hardcoded options without "code" element:
{ "label": "Cancel.", "hotkey": "X" }
Currently it's not so easy to make a code that does nothing :)
PROMPT_ADD_OPTION should allow null as last argument:
to be the equivalent of hardcoded options without "code" element:
Currently it's not so easy to make a code that does nothing :)