Skip to content

Commit

Permalink
S1 card flag getter fix (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolya5544 committed Jun 18, 2021
1 parent 45e95b3 commit 03fe7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClassHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public string FlagURL
}
else
{
_FlagURL = $"https://www.nationstates.net/images/cards/s{(int)Season}/{_FlagURL}.jpg";
_FlagURL = $"https://www.nationstates.net/images/cards/s{(int)Season}/{_FlagURL}{(_FlagURL.EndsWith(".png") ? "" : ".jpg")}";
}
}
return _FlagURL;
Expand Down

0 comments on commit 03fe7a8

Please sign in to comment.