Skip to content

Commit e0f3e43

Browse files
committed
Fix golden/rainbow chapter card appearing as golden instead
Since this was a conflict with a change in Everest 2882, you now need Everest 2882 or later.
1 parent 135074c commit e0f3e43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UI/InGameOverworldHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ private static void ModOuiChapterPanelRender(ILContext il) {
501501

502502
// 3. Turn the chapter card silver or rainbow instead of gold when relevant.
503503
while (cursor.TryGotoNext(MoveType.After,
504-
instr => instr.MatchLdstr("areaselect/cardtop_golden") || instr.MatchLdstr("areaselect/card_golden"),
505504
instr => instr.MatchLdarg(0),
505+
instr => instr.MatchLdstr("areaselect/cardtop_golden") || instr.MatchLdstr("areaselect/card_golden"),
506506
instr => instr.MatchCall<OuiChapterPanel>("_ModCardTexture"))) {
507507

508508
Logger.Log("CollabUtils2/InGameOverworldHelper", $"Modding chapter panel card at {cursor.Index} in IL for OuiChapterPanel.Render");

everest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
DLL: bin/Debug/net452/CollabUtils2.dll
44
Dependencies:
55
- Name: Everest
6-
Version: 1.2879.0
6+
Version: 1.2882.0

0 commit comments

Comments
 (0)