diff --git a/modules/ExpGamingCore/Group/control.lua b/modules/ExpGamingCore/Group/control.lua index 93da49c1..213529d7 100644 --- a/modules/ExpGamingCore/Group/control.lua +++ b/modules/ExpGamingCore/Group/control.lua @@ -58,7 +58,7 @@ function Group.get(mixed) if is_type(mixed,'table') and mixed.name then mixed = mixed.name end if game and Game.get_player(mixed) then mixed = Game.get_player(mixed).permission_group.name end local rtn = Group.groups[mixed] - if not rtn and is_type(mixed,'string') and game.permissions.get_group(mixed) then + if not rtn and game and is_type(mixed,'string') and game.permissions.get_group(mixed) then rtn = setmetatable({disallow={},name=mixed},{ __index=function(tbl,key) return Group._prototype[key] or game and game.permissions.get_group(tbl.name)[key] or nil end }) diff --git a/modules/ExpGamingCore/Role/config.lua b/modules/ExpGamingCore/Role/config.lua index ea8db9ec..a63f2399 100644 --- a/modules/ExpGamingCore/Role/config.lua +++ b/modules/ExpGamingCore/Role/config.lua @@ -213,7 +213,7 @@ Role{ name='Guest', short_hand='', tag='', - group='Guest', + group='User', colour={r=185,g=187,b=160}, allow_afk_kick=true, is_default=true,