licht modus fehlerbehebung

This commit is contained in:
hydrant
2020-05-05 19:57:01 +02:00
parent 3618f2074e
commit e2eaadb7fe
2 changed files with 43 additions and 43 deletions

View File

@@ -23,10 +23,10 @@ namespace ReallifeGamemode.Server.Managers
realTimeTimer.Start();
}
public static void PauseTimeManager()
public static void PauseTimeManager(TimeSpan time)
{
realTimeTimer.Stop();
CurrentTime = DateTime.Now.TimeOfDay;
CurrentTime = time;
}
private static void SetTime(object sender, ElapsedEventArgs args)