dialogue : allow more than 3 answers
This commit is contained in:
parent
a938ed1c72
commit
6f6cd86ee3
@ -9,7 +9,7 @@ function dialogue.ask(name, question, answers)
|
||||
|
||||
-- generate formspec and show
|
||||
local arrays = {
|
||||
"size[8,3]",
|
||||
"size[8," .. tostring(#answers*0.75+0.75) .. "]",
|
||||
default.gui_colors,
|
||||
default.gui_bg,
|
||||
"label[0,0;",
|
||||
|
Loading…
x
Reference in New Issue
Block a user