forked from your-land-mirror/yl_speak_up
adjust real_owner when changing owner as well
This commit is contained in:
parent
b371f15801
commit
6b6c31e4aa
@ -151,6 +151,7 @@ yl_speak_up.input_fs_initial_config = function(player, formname, fields)
|
||||
ent.yl_speak_up.npc_name = dialog.n_npc
|
||||
ent.yl_speak_up.npc_description = dialog.n_description
|
||||
ent.owner = yl_speak_up.npc_owner[ n_id ] or dialog.npc_owner
|
||||
ent.yl_speak_up.real_owner = ent.owner
|
||||
local i_text = dialog.n_npc .. "\n" ..
|
||||
dialog.n_description .. "\n" ..
|
||||
yl_speak_up.infotext
|
||||
|
Loading…
Reference in New Issue
Block a user