mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-03 06:28:48 +00:00
Reset tickrate to 20.0f after timelapse ends
This commit is contained in:
1 parent
b1a1c7f612
commit
056c3fc32b
1 file changed
+2
@@ -223,6 +223,8 @@ public class KeyframeTrack {
|
|||||||
double tickrate = (double) (ceilEntry.getKey() - lowerEntry.getKey()) / (ceilTicks - lowerTicks) * 20;
|
double tickrate = (double) (ceilEntry.getKey() - lowerEntry.getKey()) / (ceilTicks - lowerTicks) * 20;
|
||||||
return new KeyframeChangeTickrate((float) tickrate);
|
return new KeyframeChangeTickrate((float) tickrate);
|
||||||
}
|
}
|
||||||
|
} else if (lowerEntry != null) {
|
||||||
|
return new KeyframeChangeTickrate(20.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in new issue
Block a user