When the lobby host is a an evil role it isn't shown due to a race
condition in cleaning the playerRoom too quickly. Moving the cleaning
room gives the host time to send the correct information before it gets
cleaned.
output += "- " + RoleInfo.GetRolesString(p, false, false, true) + ", was last seen " + roomName + "\n";
}
FastDestroyableSingleton<HudManager>.Instance.Chat.AddChat(Snitch.snitch, $"{output}");
+ Snitch.playerRoomMap = new Dictionary<byte, byte>();
}
})));
}
if (PlayerControl.LocalPlayer.Data.IsDead && output != "") FastDestroyableSingleton<HudManager>.Instance.Chat.AddChat(PlayerControl.LocalPlayer, $"{output}");
Trapper.playersOnMap = new ();
- Snitch.playerRoomMap = new Dictionary<byte, byte>();
// Remove revealed traps
Trap.clearRevealedTraps();