fixed crash in quest_api when saving
This commit is contained in:
parent
e3094962c3
commit
5cd9a9aab6
@ -459,7 +459,7 @@ yl_speak_up.update_stored_npc_data = function(n_id, dialog)
|
||||
for a_id, a_data in pairs(o.actions) do
|
||||
anz_actions = anz_actions + 1
|
||||
-- actions can have alternate_text
|
||||
variables_used = yl_speak_up.find_player_vars_in_text(variables_used, a.alternate_text)
|
||||
variables_used = yl_speak_up.find_player_vars_in_text(variables_used, a_data.alternate_text)
|
||||
end
|
||||
end
|
||||
if(o and o.o_results) then
|
||||
|
Loading…
Reference in New Issue
Block a user