forked from your-land-mirror/yl_speak_up
catch missing yl_speak_up.edit_mode in show_fs (which is not yet split up properly)
This commit is contained in:
parent
04b67da670
commit
03da9151c4
@ -196,6 +196,7 @@ yl_speak_up.show_fs = function(player, fs_name, param)
|
||||
and fs_name ~= "msg"
|
||||
and fs_name ~= "player_offers_item"
|
||||
-- is the player editing the NPC? that is: might there be any changes?
|
||||
and yl_speak_up.edit_mode
|
||||
and (yl_speak_up.edit_mode[pname] == yl_speak_up.speak_to[pname].n_id)) then
|
||||
local last_fs = yl_speak_up.speak_to[pname].last_fs
|
||||
local d_id = yl_speak_up.speak_to[pname].d_id
|
||||
|
Loading…
Reference in New Issue
Block a user