fixed duplicate code in npc_talk_edit #8189
This commit is contained in:
parent
b2e2f843bd
commit
fc6ee8b4d4
@ -1872,7 +1872,6 @@ yl_speak_up.get_sub_fs_edit_option_precondition_entity_type = function(
|
||||
if(yl_speak_up.speak_to[pname].obj) then
|
||||
local obj = yl_speak_up.speak_to[pname].obj
|
||||
if(obj) then
|
||||
local entity = obj:get_luaentity()
|
||||
local entity = obj:get_luaentity()
|
||||
if(entity) then
|
||||
data.entity_type = entity.name
|
||||
|
Loading…
Reference in New Issue
Block a user