Skip to content
Snippets Groups Projects
Commit 04a32e2d authored by dg's avatar dg
Browse files

and taht

git-svn-id: http://svn.net-core.org/repos/t-engine4@6297 51575b47-30f0-44d4-a5cc-537603b46e54
parent 368bae8d
No related branches found
No related tags found
No related merge requests found
......@@ -2019,6 +2019,7 @@ function _M:setupMouse(mouse)
if button == "right" and event == "button" then
extra.add_map_action = {
{ name="Show chat user", fct=function() profile.chat:showUserInfo(user.login) end },
{ name="Whisper", fct=function() profile.chat:setCurrentTarget(false, user.login) profile.chat:talkBox() end },
{ name="Report user for bad behavior", fct=function()
game:registerDialog(require('engine.dialogs.GetText').new("Reason to report: "..user.login, "Reason", 4, 500, function(text)
profile.chat:reportUser(user.login, text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment