adjust real_owner when changing owner as well

This commit is contained in:
Sokomine 2025-06-09 01:53:18 +02:00
parent b371f15801
commit 6b6c31e4aa

View File

@ -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