Skip to content

Commit

Permalink
Fix ESWC conversion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Dec 15, 2020
1 parent 6582585 commit 7cc2a85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NationsConverter/Stages/ModeConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ public void Process(CGameCtnChallenge map, int version, ConverterParameters para
{
map.ChallengeParameters.MapType = "TrackMania\\TM_Race";

if(version < GameVersion.TM2)
map.ChallengeParameters.RemoveChunk<CGameCtnChallengeParameters.Chunk0305B006>(); // Causes "Couldn't load map" on ESWC

if (version < GameVersion.TM2)
map.ChallengeParameters.CreateChunk<CGameCtnChallengeParameters.Chunk0305B00E>();

map.Kind = CGameCtnChallenge.TrackKind.InProgress;
Expand Down

0 comments on commit 7cc2a85

Please sign in to comment.