Allow rules to be constructed from a MapPreview.
This commit is contained in:
@@ -296,7 +296,8 @@ namespace OpenRA
|
||||
{
|
||||
try
|
||||
{
|
||||
return Ruleset.LoadFromMap(modData, this);
|
||||
return Ruleset.Load(modData, this, Tileset, RuleDefinitions, WeaponDefinitions,
|
||||
VoiceDefinitions, NotificationDefinitions, MusicDefinitions, SequenceDefinitions);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user