diff --git a/OpenRA.Editor/Form1.cs b/OpenRA.Editor/Form1.cs
index 31dd15a543..89eacfbd78 100644
--- a/OpenRA.Editor/Form1.cs
+++ b/OpenRA.Editor/Form1.cs
@@ -1,10 +1,10 @@
using System;
using System.Collections.Generic;
using System.Drawing;
+using System.Drawing.Imaging;
using System.IO;
using System.Windows.Forms;
using OpenRA.FileFormats;
-using System.Drawing.Imaging;
namespace OpenRA.Editor
{
@@ -15,7 +15,7 @@ namespace OpenRA.Editor
InitializeComponent();
LocateGameRoot();
- LoadMap("cnc", "scm01ea");
+ LoadMap("ra", "scm01ea");
}
void LoadMap(string mod, string mapname)
@@ -32,6 +32,9 @@ namespace OpenRA.Editor
// load the map
var map = new Map(new Folder("mods/{0}/maps/{1}".F(mod, mapname)));
+ Game.LoadModAssemblies(manifest);
+ Rules.LoadRules(manifest, map);
+
// we're also going to need a tileset...
var tsinfo = fileMapping[Pair.New(mods[0], map.Theater)];
var tileset = new TileSet("tileset.til", "templates.ini", tsinfo.First);
diff --git a/OpenRA.Editor/OpenRA.Editor.csproj b/OpenRA.Editor/OpenRA.Editor.csproj
index ad02cc1247..46218f5c08 100644
--- a/OpenRA.Editor/OpenRA.Editor.csproj
+++ b/OpenRA.Editor/OpenRA.Editor.csproj
@@ -22,6 +22,7 @@
prompt
4
true
+ x86
pdbonly
@@ -87,6 +88,10 @@
{BDAEAB25-991E-46A7-AF1E-4F0E03358DAA}
OpenRA.FileFormats
+
+ {0DFB103F-2962-400F-8C6D-E2C28CCBA633}
+ OpenRA.Game
+