mirror of https://github.com/ppy/osu
DI beat divisors to test cases with editor clocks
This commit is contained in:
parent
9e8490735f
commit
b238130fe4
|
@ -31,6 +31,8 @@ private void load(OsuGameBase osuGame)
|
||||||
{
|
{
|
||||||
this.osuGame = osuGame;
|
this.osuGame = osuGame;
|
||||||
|
|
||||||
|
dependencies.Cache(BeatDivisor);
|
||||||
|
|
||||||
osuGame.Beatmap.ValueChanged += reinitializeClock;
|
osuGame.Beatmap.ValueChanged += reinitializeClock;
|
||||||
reinitializeClock(osuGame.Beatmap.Value);
|
reinitializeClock(osuGame.Beatmap.Value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue