This commit is contained in:
vis2k 2022-10-03 13:04:10 +02:00
parent 0fc90a105b
commit 868f261612

View File

@ -1706,6 +1706,10 @@ static void Broadcast()
{
// send time for snapshot interpolation every sendInterval.
// BroadcastToConnection() may not send if nothing is new.
//
// TODO non-headless servers don't set tick rate.
// this would be sent every tick, which isn't necessary.
// use accurateInterval or similar
connection.Send(new TimeSnapshotMessage());
// broadcast world state to this connection