Skip to content

Commit 14b3fd1

Browse files
Use bepinex paths instead of assembly loc
1 parent 826689c commit 14b3fd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

InscryptionAPI/Saves/ModdedSaveManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace InscryptionAPI.Saves
77
[HarmonyPatch]
88
public static class ModdedSaveManager
99
{
10-
private static readonly string saveFilePath = Path.Combine(Assembly.GetExecutingAssembly().Location, "..", "..", "ModdedSaveFile.gwsave");
10+
private static readonly string saveFilePath = Path.Combine(BepInEx.Paths.BepInExRootPath, "ModdedSaveFile.gwsave");
1111

1212
public static ModdedSaveData SaveData { get; private set; }
1313

0 commit comments

Comments
 (0)