mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
fix pathedinterior timings
This commit is contained in:
parent
5b0f1073cb
commit
0dd4927458
1 changed files with 5 additions and 0 deletions
|
|
@ -281,6 +281,11 @@ class PathedInterior extends InteriorObject {
|
||||||
}
|
}
|
||||||
if (m2 == null)
|
if (m2 == null)
|
||||||
m2 = m1;
|
m2 = m1;
|
||||||
|
if (i == this.markerData.length && currentEndTime < time) {
|
||||||
|
m1 = m2;
|
||||||
|
m2 = this.markerData[0];
|
||||||
|
currentEndTime += m1.msToNext;
|
||||||
|
}
|
||||||
|
|
||||||
var m1Time = currentEndTime - m1.msToNext;
|
var m1Time = currentEndTime - m1.msToNext;
|
||||||
var m2Time = currentEndTime;
|
var m2Time = currentEndTime;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue