ULib should be calling UCLChanged after registerAccess.

This commit is contained in:
SticklyMan 2018-02-04 17:26:08 -07:00
parent ba21d08242
commit eda6abdccd
2 changed files with 5 additions and 2 deletions

View File

@ -990,7 +990,10 @@ function ucl.registerAccess( access, groups, comment, category )
table.insert( ucl.groups[ group ].allow, access )
end
timer.Create( "ULibSaveGroups", 1, 1, ucl.saveGroups ) -- 1 sec delay, 1 rep
timer.Create( "ULibSaveGroups", 1, 1, function() -- 1 sec delay, 1 rep
ucl.saveGroups()
hook.Call( ULib.HOOK_UCLCHANGED )
end )
end
end

View File

@ -1 +1 @@
1507560100
1517790368