mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-19 15:51:52 +00:00
Don't use ShowRoleForClients in code
This commit is contained in:
1 parent
fa14f45579
commit
7eb8ca2d48
1 file changed
+2
@@ -19,6 +19,7 @@ internal static class HostManager
|
||||
|
||||
internal static void SyncNames(NameSyncType syncType, float sDelay, int repeat = 1)
|
||||
{
|
||||
return;
|
||||
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
||||
|
||||
if (syncCoroutine != null && GameData.Instance != null)
|
||||
@@ -46,6 +47,7 @@ internal static class HostManager
|
||||
|
||||
internal static void SyncNames(NameSyncType syncType)
|
||||
{
|
||||
return;
|
||||
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
||||
|
||||
StringBuilder sb = new();
|
||||
|
||||
Reference in new issue
Block a user