tf2-comp-fixes
tf2-comp-fixes copied to clipboard
Players may disable tv_delaymapchange_protect when people are spectating through STV
- warn that people are watching
- automatically change the map when it is safe to do so
partially implemented here (does not check if players are actually connected to stv) for reference, might put in a PR myself honestly
This could be implemented with SourceTVManager by PeaceMaker
if (SourceTV_GetSpectatorCount() > 0)
{
// etc.
}
public void SourceTV_OnStopRecording(int instance, const char[] filename, int recordingtick)
{
// etc.
}