experimenting with passing functions through interactions

This commit is contained in:
Nathan Schneider
2021-07-30 14:46:22 -06:00
parent 1707a417e3
commit b9bbf0380f
2 changed files with 18 additions and 13 deletions

View File

@ -198,7 +198,6 @@ minetest.register_on_player_receive_fields(function (player, formname, fields)
modpol.interactions.text_query(pname, "Org name:")
-- local new_org_name = _contexts[pname]["new_org_name"]
_contexts[pname] = function(input)
local new_request = {
user = pname,
type = "add_org",