Remove direct access to MapPreview.Rules.
This commit is contained in:
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Spawn and remove the plane this far outside the map.")]
|
||||
public readonly WDist Cordon = new WDist(5120);
|
||||
|
||||
IEnumerable<LobbyOption> ILobbyOptions.LobbyOptions(Ruleset rules)
|
||||
IEnumerable<LobbyOption> ILobbyOptions.LobbyOptions(MapPreview map)
|
||||
{
|
||||
yield return new LobbyBooleanOption("crates", CheckboxLabel, CheckboxDescription, CheckboxVisible, CheckboxDisplayOrder, CheckboxEnabled, CheckboxLocked);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user