fixed animation triggers

This commit is contained in:
Mister_Nebula 2021-11-09 22:37:53 +00:00
parent 0dd78feb27
commit eadb232f7e

View File

@ -22,7 +22,7 @@ namespace QSB.Animation.Player.Events
public override void OnReceiveRemote(bool server, AnimationTriggerMessage message)
{
var animationSync = QSBPlayerManager.GetSyncObject<AnimationSync>(message.AttachedNetId);
if (!QSBCore.WorldObjectsReady || animationSync != null)
if (!QSBCore.WorldObjectsReady || animationSync == null)
{
return;
}