mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Prediction: force syncInterval=0 for now to reduce risks of projects misconfiguring this
This commit is contained in:
parent
98061c0f59
commit
1791d29da2
@ -626,6 +626,11 @@ protected override void OnValidate()
|
||||
|
||||
// force syncDirection to be ServerToClient
|
||||
syncDirection = SyncDirection.ServerToClient;
|
||||
|
||||
// state should be synced immediately for now.
|
||||
// later when we have prediction fully dialed in,
|
||||
// then we can maybe relax this a bit.
|
||||
syncInterval = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user