Fix: HasFlag(EUserRole.TR_USERROLE_GUEST) does not work (workaround replaced it with !NORMAL)
This commit is contained in:
1 parent
2f01f4db15
commit
341f03714e
2 files changed
+2
-2
No files matched your search
@@ -466,7 +466,7 @@ namespace Vocaluxe.Base
|
||||
if (!IsProfileIDValid(profileID))
|
||||
return true; // this will prevent from saving dummy profiles to highscore db
|
||||
|
||||
return _Profiles[profileID].UserRole.HasFlag(EUserRole.TR_USERROLE_GUEST);
|
||||
return !_Profiles[profileID].UserRole.HasFlag(EUserRole.TR_USERROLE_NORMAL);
|
||||
}
|
||||
|
||||
public static bool IsActive(int profileID)
|
||||
|
||||
Reference in new issue
Block a user