dialogue : allow more than 3 answers

This commit is contained in:
cale 2016-07-30 12:41:04 +02:00
parent a938ed1c72
commit 6f6cd86ee3

View File

@ -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;",