Added user argument to org:add_org in minetest interactions, anticipating change on master
This commit is contained in:
parent
a923f5f249
commit
37aadb90c5
@ -318,7 +318,7 @@ function modpol.interactions.add_org(initiator, base_org_id)
|
||||
_contexts[initiator] = function(input)
|
||||
if input then
|
||||
local base_org = modpol.orgs.get_org(base_org_id)
|
||||
local result = base_org:add_org(input)
|
||||
local result = base_org:add_org(input, initiator)
|
||||
if result then
|
||||
local message = input .. " created"
|
||||
modpol.interactions.message(initiator, message)
|
||||
|
Loading…
x
Reference in New Issue
Block a user