Bugfix: cancel_invites(..) wasn't really working
This commit is contained in:
parent
e73b1c0d0e
commit
4769c4ea8d
@ -373,13 +373,14 @@ end
|
||||
|
||||
|
||||
function parties.cancel_invite(p_name, inviter)
|
||||
-- TODO: cancella after
|
||||
players_invited[p_name][inviter] = nil
|
||||
end
|
||||
|
||||
|
||||
|
||||
function parties.cancel_invites(p_name)
|
||||
for inviters, _ in pairs(players_invited[p_name]) do
|
||||
for inviter, _ in pairs(players_invited[p_name]) do
|
||||
parties.cancel_invite(p_name, inviter)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user