mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-21 22:58:03 +02:00
send debug information to the player that is editing instead of singleplayer
This commit is contained in:
parent
9a0dc0a1fe
commit
8c732e2dc4
@ -1701,7 +1701,6 @@ end
|
||||
-- this is called when the player is in edit_mode (editing the NPC);
|
||||
-- the function checks if the player has changed any parameters
|
||||
-- TODO: implement the change detection and ask the user what to do (save? discard?)
|
||||
-- TODO: what if it is a new dialog?
|
||||
-- Parameters:
|
||||
-- pname player name
|
||||
-- fields the fields returned from the formspec
|
||||
@ -1824,7 +1823,7 @@ yl_speak_up.edit_mode_apply_changes = function(pname, fields)
|
||||
|
||||
-- TODO just for debugging
|
||||
for k,v in pairs(yl_speak_up.npc_was_changed[ yl_speak_up.edit_mode[pname] ]) do
|
||||
minetest.chat_send_player("singleplayer", v )
|
||||
minetest.chat_send_player(pname, v )
|
||||
end
|
||||
end
|
||||
-- end of yl_speak_up.edit_mode_apply_changes
|
||||
|
Loading…
Reference in New Issue
Block a user