summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Content
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/Content')
-rw-r--r--src/SMAPI/Framework/Content/AssetDataForMap.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/Content/AssetDataForMap.cs b/src/SMAPI/Framework/Content/AssetDataForMap.cs
index 133dcc6c..8674461e 100644
--- a/src/SMAPI/Framework/Content/AssetDataForMap.cs
+++ b/src/SMAPI/Framework/Content/AssetDataForMap.cs
@@ -151,9 +151,10 @@ namespace StardewModdingAPI.Framework.Content
}
/// <inheritdoc />
- public bool ExtendMap(Map map, int minWidth, int minHeight)
+ public bool ExtendMap(int minWidth = 0, int minHeight = 0)
{
bool resized = false;
+ Map map = this.Data;
// resize layers
foreach (Layer layer in map.Layers)