Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Fix projectors not working in offline mode #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/Sandbox.Game/Game/World/MySession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public bool IsUserPromoted( ulong steamId )
HashSet<ulong> m_adminMode = new HashSet<ulong>();
public bool IsAdminModeEnabled(ulong user)
{
return m_adminMode.Contains(user) && HasPlayerAdminRights(user);
return m_adminMode.Contains(user) || HasPlayerAdminRights(user);
}

public void EnableAdminMode(ulong user,bool value)
Expand Down Expand Up @@ -2381,4 +2381,4 @@ private static Vector3D GetLocalPlayerPosition()
return default(Vector3D);
}
}
}
}