diff --git a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua index 99dbab1..8a7b0c2 100644 --- a/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua +++ b/gamemode/engine/derma/lib/cl_menu_dialogueBox.lua @@ -275,7 +275,7 @@ function log.createDialogueInterface(f, dialogue) setDialogueOptions( f.dialogue, dialogue, "init" ) -- add the goodbye button - f.dialogue.cont.options.bye = log.createOptionButton( f.dialogue, #f.dialogue.cont.options + 1, dialogue.bye, btnFont ) + f.dialogue.cont.options.bye = log.createOptionButton( f.dialogue, #f.dialogue.cont.options + 1, {text = dialogue.bye}, btnFont ) f.dialogue.cont.options.bye:UpdateSize(padding_s) -- Update the containers pos @@ -302,11 +302,10 @@ function log.updateDialogueInterface(i, qID) end -- update the responses - genDialogueOptions( i.cont, i.contScroll, i.log, qID ) + setDialogueOptions( i, i.log, qID ) -- update the question i.q:UpdateQ(qlog.question) - end return log