mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
buh
This commit is contained in:
parent
2222a8a286
commit
8315bc3046
@ -95,7 +95,7 @@ namespace QSB.Syncs
|
||||
public abstract bool IgnoreDisabledAttachedObject { get; }
|
||||
public abstract bool IgnoreNullReferenceTransform { get; }
|
||||
public abstract bool DestroyAttachedObject { get; }
|
||||
public abstract bool IsPlayerObject { get; }
|
||||
public abstract bool IsPlayerObject { get; }
|
||||
|
||||
public T AttachedObject { get; set; }
|
||||
public Transform ReferenceTransform { get; set; }
|
||||
@ -118,7 +118,7 @@ namespace QSB.Syncs
|
||||
if (IsPlayerObject)
|
||||
{
|
||||
var lowestBound = QSBWorldSync.GetUnityObjects<PlayerTransformSync>()
|
||||
.Where(x => x.NetId.Value <= NetId.Value).OrderBy(x => x.NetId.Value).Last();
|
||||
.Where(x => x.NetId.Value <= NetId.Value).OrderBy(x => x.NetId.Value).Last();
|
||||
NetIdentity.SetRootIdentity(lowestBound.NetIdentity);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user