Could you make it so that the player being spectated is still visible ?
I often am spectating on a different monitor, so when I look over, if the toast isnt there, I dont see who I am spectating.
To resolve this for now, I have removed the following lines of code:
object OnMessagePlayer(string message, BasePlayer player)
{
if (_users.ContainsKey(player.UserIDString) && message.StartsWith("Spectating:"))
{
return true;
}
return null;
}
This worked. The default "Spectating: Playername" shows up alongside the toast so I can just hit enter and see the last entry.