fixed missing pname in migration.lua

This commit is contained in:
Sokomine 2023-02-22 09:10:54 +01:00
parent c0f30ad248
commit d0d00d1408

View File

@ -31,7 +31,7 @@ end
yl_speak_up.check_one_npc_for_migration = function(dialog, pname, n_id)
-- nothing defined yet - nothing to repair
if(not(dialog.n_dialogs)) then
minetest.chat_send_player(" NPC "..tostring(n_id).." has nothing to say.")
minetest.chat_send_player(pname, " NPC "..tostring(n_id).." has nothing to say.")
return
end
local c_effect_exec_lua = 0