tf2-comp-fixes icon indicating copy to clipboard operation
tf2-comp-fixes copied to clipboard

Players may disable tv_delaymapchange_protect when people are spectating through STV

Open ldesgoui opened this issue 4 years ago • 2 comments

  • warn that people are watching
  • automatically change the map when it is safe to do so

ldesgoui avatar May 03 '20 15:05 ldesgoui

partially implemented here (does not check if players are actually connected to stv) for reference, might put in a PR myself honestly

sapphonie avatar May 03 '20 18:05 sapphonie

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.
}

sapphonie avatar Jun 01 '22 07:06 sapphonie