mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 16:53:52 +00:00
show_narration: use label column if only given a string
This matches behaviour in 1.14
This commit is contained in:
parent
219be073a3
commit
932dca3982
@ -86,7 +86,7 @@ int show_message_dialog(lua_State* L)
|
||||
t_string short_opt;
|
||||
config opt;
|
||||
if(luaW_totstring(L, -1, short_opt)) {
|
||||
opt["description"] = short_opt;
|
||||
opt["label"] = short_opt;
|
||||
} else if(!luaW_toconfig(L, -1, opt)) {
|
||||
std::ostringstream error;
|
||||
error << "expected array of config and/or translatable strings, but index ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user