Added Assign Events

This commit is contained in:
Cooldude2606 committed 2019-03-14 18:46:48 +00:00
1 parent 2d634303a9
commit 9f0ee95193
3 files changed
+45 -9

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ function Permissions_Groups.lockdown_permissions(exempt)
end
end
for _,group in pairs(game.permissions.groups) do
if not exempt(group.name:lower()) then
if not exempt[group.name:lower()] then
for _,action in pairs(defines.input_action) do
group.set_allows_action(action,false)
end