mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 20:03:13 +08:00
Fix IsPaused not being bound
This commit is contained in:
parent
1aa36818df
commit
2935f87e70
@ -50,6 +50,7 @@ namespace osu.Game.Screens.Play
|
|||||||
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
|
||||||
|
|
||||||
dependencies.CacheAs(GameplayClock = CreateGameplayClock(AdjustableClock));
|
dependencies.CacheAs(GameplayClock = CreateGameplayClock(AdjustableClock));
|
||||||
|
GameplayClock.IsPaused.BindTo(IsPaused);
|
||||||
|
|
||||||
return dependencies;
|
return dependencies;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user