mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +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)
|
internal static void SyncNames(NameSyncType syncType, float sDelay, int repeat = 1)
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
||||||
|
|
||||||
if (syncCoroutine != null && GameData.Instance != null)
|
if (syncCoroutine != null && GameData.Instance != null)
|
||||||
@@ -46,6 +47,7 @@ internal static class HostManager
|
|||||||
|
|
||||||
internal static void SyncNames(NameSyncType syncType)
|
internal static void SyncNames(NameSyncType syncType)
|
||||||
{
|
{
|
||||||
|
return;
|
||||||
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
if (!GameState.IsHost || !BetterGameSettings.ShowRoleForClients.GetValue()) return;
|
||||||
|
|
||||||
StringBuilder sb = new();
|
StringBuilder sb = new();
|
||||||
|
|||||||
Reference in new issue
Block a user