forked from your-land-mirror/yl_speak_up
the dialog is randomly selected; not the option (typo)
This commit is contained in:
parent
51ab9e1ecb
commit
d2fdb6da61
@ -566,10 +566,10 @@ yl_speak_up.update_dialog_option = function(log, dialog, dialog_name, option_nam
|
||||
-- is this option selected randomly?
|
||||
if( mode == 2 and not(d_data.o_random)) then
|
||||
d_data.o_random = 1
|
||||
table.insert(log, log_str.."Changed DIALOG \""..tostring(o_id).."\" to RANDOMLY SELECTED.")
|
||||
table.insert(log, log_str.."Changed DIALOG \""..tostring(d_id).."\" to RANDOMLY SELECTED.")
|
||||
elseif(mode ~= 2 and d_data.o_random) then
|
||||
d_data.o_random = nil
|
||||
table.insert(log, log_str.."Changed DIALOG \""..tostring(o_id).."\" to RANDOMLY SELECTED.")
|
||||
table.insert(log, log_str.."Changed DIALOG \""..tostring(d_id).."\" to RANDOMLY SELECTED.")
|
||||
end
|
||||
|
||||
-- is this option selected automaticly if all preconditions are met?
|
||||
|
Loading…
Reference in New Issue
Block a user