change the check

This commit is contained in:
JohnCorby 2022-08-16 10:45:35 -07:00
parent 678e882d99
commit 29e8879543

View File

@ -27,7 +27,7 @@ public static class IAuthWorldObject_Extensions
/// </summary>
public static void ReleaseOwnership(this IAuthWorldObject authWorldObject)
{
if (authWorldObject.Owner == 0)
if (authWorldObject.Owner != QSBPlayerManager.LocalPlayerId)
{
return;
}