Add force sync frames.

This commit is contained in:
2023-01-01 18:52:28 +08:00
parent 989a6b5554
commit a416f772d4
3 changed files with 34 additions and 19 deletions

View File

@@ -232,8 +232,7 @@ namespace Cryville.Crtr {
public void SyncTime(double time) {
foreach (var s in _sproxies.Keys) {
var h = s.Handler;
if (!_timeOrigins.ContainsKey(h))
_timeOrigins.Add(h, h.GetCurrentTimestamp() - time);
_timeOrigins[h] = h.GetCurrentTimestamp() - time;
}
}
public void ForceTick() {