Skip to content

Commit

Permalink
Fixed game launcher not loading the starting scene
Browse files Browse the repository at this point in the history
  • Loading branch information
ilexp committed Dec 28, 2020
1 parent d50f648 commit 3ff8524
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/Core/Duality/Launcher/DualityLauncher.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using System;
using System.Collections.Generic;
using System.IO;

using Duality.Backend;
using Duality.Resources;


namespace Duality.Launcher
{
Expand Down Expand Up @@ -79,6 +82,10 @@ public DualityLauncher(LauncherArgs launcherArgs = null)
/// </summary>
public void Run()
{
// Load the starting Scene
Scene.SwitchTo(DualityApp.AppData.Instance.StartScene);

// Enter the game loop
this.window.Run();
}

Expand Down

0 comments on commit 3ff8524

Please sign in to comment.