Update RequestInitialStatesMessage.cs

This commit is contained in:
Will Corby 2022-01-31 11:31:23 -08:00 committed by GitHub
parent c049b94527
commit c30624fb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,8 @@ namespace QSB.WorldSync
/// </summary>
public class RequestInitialStatesMessage : QSBMessage
{
public override void OnReceiveRemote() => Delay.RunWhen(() => QSBWorldSync.AllObjectsReady,
public override void OnReceiveRemote() =>
Delay.RunWhen(() => QSBWorldSync.AllObjectsReady,
() => SendInitialStates(From));
private static void SendInitialStates(uint to)