Small bug fixes and log cleanups.

This commit is contained in:
Hector Franqui
2017-08-29 14:55:38 -04:00
parent 4ec8ad7f7f
commit 337f8c46b7
3 changed files with 11 additions and 3 deletions

View File

@ -325,7 +325,7 @@ function npc.dialogue.select_random_dialogues_for_npc(self, phase)
for i = 1, number_of_dialogues do
local key_id = math.random(1, #keys)
result.normal[i] = keys[key_id]
minetest.log("Adding dialogue: "..dump(dialogues[keys[key_id]]))
npc.log("DEBUG", "Adding dialogue: "..dump(dialogues[keys[key_id]]))
end
-- Add item hints.