Map ctor no longer assumes anything about mods (fixes cnc custom-map crash)

This commit is contained in:
Paul Chote
2010-07-17 12:03:25 +12:00
parent 239fff20f4
commit 9875a968bc
4 changed files with 4 additions and 9 deletions

View File

@@ -36,10 +36,9 @@ namespace OpenRA.FileFormats
FieldLoader.Load(this, my);
}
public PlayerReference(string name, string palette, string race, bool ownsworld, bool noncombatant)
public PlayerReference(string name, string race, bool ownsworld, bool noncombatant)
{
Name = name;
Palette = palette;
Race = race;
OwnsWorld = ownsworld;
NonCombatant = noncombatant;