Fixed Disallow copy from group

This commit is contained in:
Cooldude2606
2018-01-03 22:26:21 +00:00
parent f0271234f6
commit af1c6e8d90

View File

@@ -151,6 +151,7 @@ function Ranking._auto_edit_ranks()
end
for power = #ranks, 1, -1 do
rank = ranks[power]
rank:edit('disallow',false,rank.group.disallow)
if ranks[power+1] then
rank:edit('allow',false,ranks[power+1].allow)
end