Fix error caused by threaded input handlers before time syncing.
This commit is contained in:
@@ -502,7 +502,6 @@ namespace Cryville.Crtr {
|
||||
Game.AudioSequencer.SeekTime(startOffset, SeekOrigin.Current);
|
||||
Logger.Log("main", 0, "Load/Prehandle", "Cleaning up"); yield return .95f;
|
||||
if (logEnabled && Settings.Default.HideLogOnPlay) ToggleLogs();
|
||||
inputProxy.Activate();
|
||||
GC.Collect();
|
||||
if (disableGC) GarbageCollector.GCMode = GarbageCollector.Mode.Disabled;
|
||||
timer.Stop();
|
||||
@@ -516,6 +515,7 @@ namespace Cryville.Crtr {
|
||||
Game.AudioSequencer.Playing = true;
|
||||
atime0 = Game.AudioClient.BufferPosition - startOffset;
|
||||
inputProxy.SyncTime(cbus.Time);
|
||||
inputProxy.Activate();
|
||||
}
|
||||
|
||||
public void Stop() {
|
||||
|
Reference in New Issue
Block a user