This commit is contained in:
JohnCorby 2022-10-08 14:27:57 -07:00
parent f9c861e541
commit 69a56b9783
2 changed files with 5 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public static class QSBWorldSync
if (!QSBCore.IsHost) if (!QSBCore.IsHost)
{ {
new WorldObjectsHashMessage(WorldObjectsHash).Send(); new WorldObjectsHashMessage().Send();
new RequestLinksMessage().Send(); new RequestLinksMessage().Send();
} }

View File

@ -5,9 +5,12 @@ using QSB.Utility;
namespace QSB.WorldSync; namespace QSB.WorldSync;
/// <summary>
/// sends QSBWorldSync.WorldObjectsHash to the server for sanity checking
/// </summary>
internal class WorldObjectsHashMessage : QSBMessage<int> internal class WorldObjectsHashMessage : QSBMessage<int>
{ {
public WorldObjectsHashMessage(int hash) : base(hash) => To = 0; public WorldObjectsHashMessage() : base(QSBWorldSync.WorldObjectsHash) => To = 0;
public override void OnReceiveRemote() public override void OnReceiveRemote()
{ {