This commit is contained in:
Gurge44 committed 2026-07-21 18:44:22 +02:00
1 parent 59be8d587e
commit f897d2adb9
1 file changed
+1 -1
+1 -1
View File
@@ -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);