diff options
| author | Michael <[email protected]> | 2017-02-08 12:59:26 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-08 12:59:26 -0500 |
| commit | a4b49ab68b4383e84ee200f47ea21ed1b4b22ffa (patch) | |
| tree | c913bf2257f4dc3456e0e77aef6833175ff3baff /ShiftOS.WinForms/WinformsDesktop.cs | |
| parent | f66cf31e5d590cfcd82c849f18986003b47f7976 (diff) | |
| download | shiftos_thereturn-a4b49ab68b4383e84ee200f47ea21ed1b4b22ffa.tar.gz shiftos_thereturn-a4b49ab68b4383e84ee200f47ea21ed1b4b22ffa.tar.bz2 shiftos_thereturn-a4b49ab68b4383e84ee200f47ea21ed1b4b22ffa.zip | |
Mute the background music during OOBE
Diffstat (limited to 'ShiftOS.WinForms/WinformsDesktop.cs')
| -rw-r--r-- | ShiftOS.WinForms/WinformsDesktop.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ShiftOS.WinForms/WinformsDesktop.cs b/ShiftOS.WinForms/WinformsDesktop.cs index 93e290d..c940eae 100644 --- a/ShiftOS.WinForms/WinformsDesktop.cs +++ b/ShiftOS.WinForms/WinformsDesktop.cs @@ -99,11 +99,14 @@ namespace ShiftOS.WinForms }; time.Tick += (o, a) => { - if (SaveSystem.CurrentSave != null && TutorialManager.IsInTutorial == false) + if (Shiftorium.IsInitiated == true) { - lbtime.Text = Applications.Terminal.GetTime(); - lbtime.Left = desktoppanel.Width - lbtime.Width - LoadedSkin.DesktopPanelClockFromRight.X; - lbtime.Top = LoadedSkin.DesktopPanelClockFromRight.Y; + if (SaveSystem.CurrentSave != null && TutorialManager.IsInTutorial == false) + { + lbtime.Text = Applications.Terminal.GetTime(); + lbtime.Left = desktoppanel.Width - lbtime.Width - LoadedSkin.DesktopPanelClockFromRight.X; + lbtime.Top = LoadedSkin.DesktopPanelClockFromRight.Y; + } } }; time.Start(); |
