diff --git a/.idea/.idea.osu/.idea/runConfigurations/osu_.xml b/.idea/.idea.osu/.idea/runConfigurations/osu_.xml
index 344301d4a7..2735f4ceb3 100644
--- a/.idea/.idea.osu/.idea/runConfigurations/osu_.xml
+++ b/.idea/.idea.osu/.idea/runConfigurations/osu_.xml
@@ -1,17 +1,20 @@
-
+
+
-
-
+
+
+
+
\ No newline at end of file
diff --git a/osu.Game/Online/PollingComponent.cs b/osu.Game/Online/PollingComponent.cs
index d9dcfc40c2..9d0bed7595 100644
--- a/osu.Game/Online/PollingComponent.cs
+++ b/osu.Game/Online/PollingComponent.cs
@@ -22,7 +22,8 @@ namespace osu.Game.Online
private double timeBetweenPolls;
///
- /// The time that should be waited between polls.
+ /// The time in milliseconds to wait between polls.
+ /// Setting to zero stops all polling.
///
public double TimeBetweenPolls
{
@@ -35,6 +36,15 @@ namespace osu.Game.Online
}
}
+ ///
+ ///
+ ///
+ /// The initial time in milliseconds to wait between polls. Setting to zero stops al polling.
+ protected PollingComponent(double timeBetweenPolls = 0)
+ {
+ TimeBetweenPolls = timeBetweenPolls;
+ }
+
protected override void LoadComplete()
{
base.LoadComplete();