experimenting with passing functions through interactions

This commit is contained in:
Nathan Schneider committed 2021-07-30 14:46:22 -06:00
1 parent 1707a417e3
commit b9bbf0380f
2 files changed
+18 -13

No files matched your search

@@ -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",