Re-add start offset stub.

This commit is contained in:
2023-02-21 22:47:24 +08:00
parent 2f19e8daad
commit 1da8647ff1
2 changed files with 4 additions and 2 deletions

View File

@@ -473,6 +473,8 @@ namespace Cryville.Crtr {
Logger.Log("main", 0, "Load/Prehandle", "Cleaning up");
GC.Collect();
if (disableGC) GarbageCollector.GCMode = GarbageCollector.Mode.Disabled;
cbus.ForwardByTime(startOffset);
bbus.ForwardByTime(startOffset);
timer.Stop();
Logger.Log("main", 1, "Load/Prehandle", "Prehandling done ({0}ms)", timer.Elapsed.TotalMilliseconds);
if (Settings.Default.ClearLogOnPlay) {

View File

@@ -166,8 +166,8 @@ namespace Cryville.Crtr {
}
[Browsable(false)]
[Category("gameplay")]
[Description("(Not implemented yet)")]
[Category("debug")]
[Range(0, float.PositiveInfinity)][Step(10f)][Precision(1e-1)]
public float StartOffset {
get {
return PlayerPrefs.GetFloat("StartOffset", 0);