Skip to content

Commit ab53ab2

Browse files
committed
v3.27.6
roll back to fix the bug
1 parent 4f6cb16 commit ab53ab2

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

SpeedrunTool/Source/SaveLoad/Utils/GraphicResourcesHandler.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#define ROLLBACK
12
using System.Collections.Generic;
23

34
namespace Celeste.Mod.SpeedrunTool.SaveLoad.Utils;
@@ -58,7 +59,14 @@ internal static void ReloadVirtualAssets() {
5859
}
5960
}
6061

62+
#if ROLLBACK
63+
private static class AtlasHandler {
64+
internal static void Add(Atlas atlas) { }
65+
66+
internal static void AddAction() { }
67+
}
6168

69+
#else
6270
private static class AtlasHandler {
6371

6472
/* bug reproduce:
@@ -99,7 +107,7 @@ private static void Atlas_Dispose(On.Monocle.Atlas.orig_Dispose orig, Atlas self
99107
*/
100108

101109
internal static void SafeDispose(Atlas atlas) {
102-
// atlas?.Dispose();
110+
atlas?.Dispose();
103111
}
104112

105113
internal static void Add(Atlas atlas) {
@@ -245,4 +253,5 @@ public override readonly string ToString() {
245253
}
246254
}
247255
}
248-
}
256+
#endif
257+
}

SpeedrunTool/everest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- Name: SpeedrunTool
2-
Version: 3.27.5
2+
Version: 3.27.6
33
DLL: SpeedrunTool.dll
44
Dependencies:
55
- Name: Everest

0 commit comments

Comments
 (0)