Update QuantumAuthorityEvent.cs

call base CheckMessage
This commit is contained in:
Will Corby 2021-12-04 16:51:43 -08:00 committed by GitHub
parent 88084bb24d
commit d21f4a636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,11 @@ namespace QSB.QuantumSync.Events
public override bool CheckMessage(bool isServer, QuantumAuthorityMessage message)
{
if (!base.CheckMessage(isServer, message))
{
return false;
}
var obj = QSBWorldSync.GetWorldFromId<IQSBQuantumObject>(message.ObjectId);
// Deciding if to change the object's owner
@ -53,4 +58,4 @@ namespace QSB.QuantumSync.Events
}
}
}
}
}