Fixed interaction glitch on privs_to_org

This commit is contained in:
Nathan Schneider
2021-12-20 19:05:03 -07:00
parent 046fad7f57
commit 18d63485c2
2 changed files with 2 additions and 2 deletions

View File

@ -31,6 +31,7 @@ function priv_to_org:initiate(result)
"Which privilege do you want to share with members of "..self.org.name.."?",
player_privs_table,
function(input)
modpol.interactions.org_dashboard(self.initiator,self.org.id)
for i,member in ipairs(self.org.members) do
local member_privs = minetest.get_player_privs(member)
member_privs[input] = true