Re-add start offset stub.
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user