Skip to content

Commit 4e3799e

Browse files
committed
Update 1.8.5
1 parent df443c1 commit 4e3799e

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

ModTheGungeonAPI/ETGModMainBehaviour.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ETGModMainBehaviour : BaseUnityPlugin
2424
/// <summary>
2525
/// The current version of the MTG API.
2626
/// </summary>
27-
public const string VERSION = "1.8.4";
27+
public const string VERSION = "1.8.5";
2828
/// <summary>
2929
/// Current instance of the MTG API behaviour.
3030
/// </summary>

ModTheGungeonAPI/HarmonyPatches.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,18 @@ private static void AddMissingReplacementsSSS(tk2dSpriteCollectionData newCollec
268268
{
269269
AddMissingReplacements(newCollection);
270270
}
271+
272+
[HarmonyPatch(typeof(tk2dTileMap), nameof(tk2dTileMap.Awake))]
273+
[HarmonyPrefix]
274+
private static void AddMissingReplacementsTilemap(tk2dTileMap __instance)
275+
{
276+
AddMissingReplacements(__instance.spriteCollection);
277+
}
278+
279+
[HarmonyPatch(typeof(tk2dTileMap), nameof(tk2dTileMap.Editor__SpriteCollection), MethodType.Setter)]
280+
[HarmonyPrefix]
281+
private static void AddMissingReplacementsTilemapCollection(tk2dSpriteCollectionData value)
282+
{
283+
AddMissingReplacements(value);
284+
}
271285
}

ModTheGungeonAPI/ModTheGungeonAPI.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<package >
33
<metadata>
44
<id>EtG.ModTheGungeonAPI</id>
5-
<version>1.8.4</version>
5+
<version>1.8.5</version>
66
<title>EtG.ModTheGungeonAPI</title>
77
<authors>ModTheGungeonAPI</authors>
88
<requireLicenseAcceptance>false</requireLicenseAcceptance>
99
<license type="expression">MIT</license>
10-
<iconUrl>https://gcdn.thunderstore.io/live/repository/icons/MtG_API-Mod_the_Gungeon_API-1.8.4.png.256x256_q95_crop.png</iconUrl>
10+
<iconUrl>https://gcdn.thunderstore.io/live/repository/icons/MtG_API-Mod_the_Gungeon_API-1.8.5.png.256x256_q95_crop.png</iconUrl>
1111
<projectUrl>https://github.com/SpecialAPI/ModTheGungeonAPI</projectUrl>
1212
<description>An API for Enter the Gungeon that brings the good parts of MtG (Mod the Gungeon) to BepInEx as a plugin.</description>
1313
<releaseNotes></releaseNotes>

0 commit comments

Comments
 (0)