File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ internal static void CreateDialogueEvents()
207207 string dialogueId = "TraderPelts" + name ;
208208 if ( ! DialogueManager . CustomDialogue . Exists ( x => x . DialogueEvent . id == dialogueId ) )
209209 {
210- if ( cardName . Contains ( "pelt" ) || cardName . Contains ( "pelt" ) ) {
210+ if ( peltCardInfo . displayedName . Contains ( "pelt" ) || peltCardInfo . displayedName . Contains ( "pelt" ) ) {
211211 DialogueManager . GenerateEvent ( InscryptionAPIPlugin . ModGUID , dialogueId ,
212212 new ( )
213213 {
@@ -232,7 +232,7 @@ public static string GetTierNameFromPelt(string cardName)
232232 string result = cardName . ToLowerInvariant ( ) . Replace ( "pelt" , "" ) . Replace ( "pelts" , "" ) ;
233233 result = result . Split ( '_' ) . Last ( ) . ToTitleCase ( ) ;
234234 } else {
235- string result = cardName . ToLowerInvarient ( ) ;
235+ string result = cardName . ToLowerInvariant ( ) ;
236236 result = result . Split ( '_' ) . Last ( ) . ToTitleCase ( ) ;
237237 }
238238
You can’t perform that action at this time.
0 commit comments