Browse Source

Update appCore.cs

The AppCore wasn't updating its canvas name correctly.
Peter Robinson 3 years ago
parent
commit
ef6d4ab2ab
1 changed files with 2 additions and 1 deletions
  1. 2 1
      library/AppCore/appCore.cs

+ 2 - 1
library/AppCore/appCore.cs

@@ -30,7 +30,8 @@ function AppCore::create( %this )
     exec("./scripts/canvas.cs");
     exec("./scripts/canvas.cs");
 
 
     // Initialize the canvas
     // Initialize the canvas
-    %this.initializeCanvas(%this.Project);
+	%module = ModuleDatabase.findModule("AppCore", 1);
+    %this.initializeCanvas(%module.Project);
 
 
 	// Load other modules
 	// Load other modules
     ModuleDatabase.loadGroup("launch");
     ModuleDatabase.loadGroup("launch");