forked from Sokomine/yl_speak_up
provide right id for talk check
This commit is contained in:
parent
c14fd79c48
commit
c271a3480e
@ -3114,7 +3114,7 @@ function yl_speak_up.talk(self, clicker)
|
||||
if not self.yl_speak_up or not self.yl_speak_up.talk or self.yl_speak_up.talk~=true then
|
||||
|
||||
-- show a formspec to other players that this NPC is busy
|
||||
if(not(yl_speak_up.may_edit_npc(clicker, self.yl_speak_up.id))) then
|
||||
if(not(yl_speak_up.may_edit_npc(clicker, n_id))) then
|
||||
-- show a formspec so that the player knows that he may come back later
|
||||
minetest.show_formspec(pname, "yl_spaek_up:ignore",
|
||||
"size[6,2]"..
|
||||
|
Loading…
Reference in New Issue
Block a user