Commit 5be47d6 1 parent 49a4090 commit 5be47d6 Copy full SHA for 5be47d6
File tree 1 file changed +8
-8
lines changed
MOD.Scripts.UI.ChapterJump
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ namespace MOD.Scripts.UI.ChapterJump
10
10
{
11
11
public class MODChapterJumpController
12
12
{
13
- private static bool initialized = false ;
13
+ private static bool initialized = false ;
14
14
private static List < ChapterJumpEntry > cachedChapterJumps ;
15
15
private static readonly string ChapterJumpFilePath = Path . Combine ( MODSystem . BaseDirectory , "chapterjump.json" ) ;
16
16
17
17
public class ChapterJumpEntry
18
18
{
19
- public string English ;
20
- public string Japanese ;
19
+ public string English ;
20
+ public string Japanese ;
21
21
public int ChapterNumber ;
22
22
public int ArcNumber ;
23
23
public string BlockName ;
@@ -29,7 +29,7 @@ public static List<ChapterJumpEntry> ChapterJumpsOrNull
29
29
get
30
30
{
31
31
if ( ! initialized )
32
- {
32
+ {
33
33
initialized = true ;
34
34
if ( File . Exists ( ChapterJumpFilePath ) )
35
35
{
@@ -49,17 +49,17 @@ public static List<ChapterJumpEntry> ChapterJumpsOrNull
49
49
}
50
50
}
51
51
}
52
- }
53
- catch ( System . Exception e )
52
+ }
53
+ catch ( System . Exception e )
54
54
{
55
55
Debug . Log ( "Failed to parse chapter jump JSON, falling back to hardcoded chapter jumps: " + e . Message ) ;
56
56
}
57
- }
57
+ }
58
58
else
59
59
{
60
60
Debug . Log ( "No chapter jump JSON available, falling back to hardcoded chapter jumps" ) ;
61
61
}
62
- }
62
+ }
63
63
return cachedChapterJumps ;
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments