mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
bruh
This commit is contained in:
1 parent
59be8d587e
commit
f897d2adb9
1 file changed
+1
-1
@@ -2154,7 +2154,7 @@ internal static class ExtendedPlayerControl
|
||||
|
||||
public string GetRoleInfo(bool infoLong = false)
|
||||
{
|
||||
CustomRoles role = player.AmOwner && Main.GM.Value ? CustomRoles.GM : player.GetCustomRole();
|
||||
CustomRoles role = AmongUsClient.Instance.AmHost && player.AmOwner && Main.GM.Value ? CustomRoles.GM : player.GetCustomRole();
|
||||
if (role is CustomRoles.Crewmate or CustomRoles.Impostor) infoLong = false;
|
||||
|
||||
string info = (role.IsVanilla() ? "Blurb" : "Info") + (infoLong ? "Long" : string.Empty);
|
||||
|
||||
Reference in new issue
Block a user