mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-20 15:41:01 +00:00
split into two lines
This commit is contained in:
parent
efb59e627d
commit
6f095a0a64
@ -27,7 +27,8 @@ namespace QSB.TransformSync
|
||||
{
|
||||
DebugLog.DebugWrite("start of " + GetType().Name);
|
||||
base.Start();
|
||||
var lowestBound = QSBPlayerManager.GetSyncObjects<PlayerTransformSync>().Where(x => x.NetId.Value <= NetId.Value).OrderBy(x => x.NetId.Value).Last();
|
||||
var lowestBound = QSBPlayerManager.GetSyncObjects<PlayerTransformSync>()
|
||||
.Where(x => x.NetId.Value <= NetId.Value).OrderBy(x => x.NetId.Value).Last();
|
||||
NetIdentity.SetRootIdentity(lowestBound.NetIdentity);
|
||||
|
||||
DontDestroyOnLoad(gameObject);
|
||||
|
Loading…
x
Reference in New Issue
Block a user