Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Commit 0fd792c

Browse files
committed
forgot to commit Events.cs, also changed ordering so TickTime docstring works
1 parent 3279a4f commit 0fd792c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

DemoInfo/DemoParser.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,11 +453,11 @@ public float TickRate {
453453
/// How long a tick of the demo is in s^-1
454454
/// </summary>
455455
/// <value>The tick time.</value>
456-
private List<int> tickGaps = new List<int>();
457-
private float _ticktime;
458456
public float TickTime {
459457
get { return IsHeaderCorrupted ? _ticktime : this.Header.PlaybackTime / this.Header.PlaybackFrames; }
460458
}
459+
private List<int> tickGaps = new List<int>();
460+
private float _ticktime;
461461

462462
/// <summary>
463463
/// Gets the parsing progess. 0 = beginning, ~1 = finished (it can actually be > 1, so be careful!)

DemoInfo/Events.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public class TickDoneEventArgs : EventArgs
2121
{
2222
}
2323

24+
public class TimeFixedEventArgs : EventArgs
25+
{
26+
}
27+
2428
public class MatchStartedEventArgs : EventArgs
2529
{
2630
}

0 commit comments

Comments
 (0)