forked from Sokomine/yl_speak_up
fixed bug #19 (text was nil)
This commit is contained in:
parent
c9cc112169
commit
664726897c
@ -348,6 +348,9 @@ yl_speak_up.show_colored_dialog_text = function(dialog, data, d_id, hypertext_po
|
||||
color = "777777"
|
||||
text = "[The NPC will end this conversation.]"
|
||||
end
|
||||
if(not(text)) then
|
||||
text = "[ERROR: No text!]"
|
||||
end
|
||||
if(data and data.alternate_text and data.alternate_text ~= "") then
|
||||
add_info_alternate_text = alternate_label_text
|
||||
-- replace $TEXT$ with the normal dialog text and make the new text yellow
|
||||
|
Loading…
Reference in New Issue
Block a user