Swap chunk merging so we're not making the mission chunks too big

This commit is contained in:
Jarrod Doyle 2024-09-23 16:43:20 +01:00
parent 68eed0a821
commit d5664b2614
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ public class ObjectHierarchy
if (gam != null && gam.Chunks.TryGetValue(name, out var rawGamChunk)) if (gam != null && gam.Chunks.TryGetValue(name, out var rawGamChunk))
{ {
var gamChunk = (T)rawGamChunk; var gamChunk = (T)rawGamChunk;
chunk.Merge(gamChunk); gamChunk.Merge(chunk);
return gamChunk;
} }
return chunk; return chunk;
} }