This commit is contained in:
JohnCorby 2021-12-25 23:48:32 -08:00
parent 1a73b09b87
commit 4c7ef91704
2 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,5 @@
using QSB.Animation.NPC.WorldObjects;
using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.Animation.NPC.Messages
{
@ -10,8 +9,6 @@ namespace QSB.Animation.NPC.Messages
public NpcAnimationMessage() { }
public override bool ShouldReceive => WorldObjectManager.AllObjectsReady;
public override void OnReceiveRemote()
{
if (Value)

View File

@ -11,7 +11,7 @@ namespace QSB.Messaging
/// </summary>
internal int ObjectId;
/// <summary>
/// set automatically when receiving
/// set automatically by ShouldReceive
/// </summary>
protected T WorldObject { get; private set; }
@ -27,9 +27,6 @@ namespace QSB.Messaging
ObjectId = reader.ReadInt32();
}
/// <summary>
/// sets WorldObject using ObjectId
/// </summary>
public override bool ShouldReceive
{
get