mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-18 13:19:18 +02:00
make sure generic dialogs never get injected in edit mode
This commit is contained in:
parent
9260989bed
commit
9fadc666ae
@ -442,7 +442,7 @@ function yl_speak_up.talk(self, clicker)
|
||||
if(yl_speak_up.edit_mode[pname] == n_id) then
|
||||
player = nil
|
||||
end
|
||||
yl_speak_up.speak_to[pname].dialog = yl_speak_up.load_dialog(n_id, clicker)
|
||||
yl_speak_up.speak_to[pname].dialog = yl_speak_up.load_dialog(n_id, player)
|
||||
|
||||
-- is this player explicitly allowed to edit this npc?
|
||||
if(yl_speak_up.speak_to[pname].dialog
|
||||
|
Loading…
Reference in New Issue
Block a user