From cacaee3944179eca310df69196dfcc10a4fc3dd0 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 17 Dec 2020 18:25:08 -0500 Subject: [PATCH] Fixed another crash. --- Source/Game/Collision/Maps/MapTree.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Game/Collision/Maps/MapTree.cs b/Source/Game/Collision/Maps/MapTree.cs index 1e12c9870..f9cfa3548 100644 --- a/Source/Game/Collision/Maps/MapTree.cs +++ b/Source/Game/Collision/Maps/MapTree.cs @@ -87,8 +87,7 @@ namespace Game.Collision for (uint i = 0; i < spawnIndicesSize; ++i) { uint spawnId = reader.ReadUInt32(); - uint spawnIndex = reader.ReadUInt32(); - iSpawnIndices[spawnId] = spawnIndex; + iSpawnIndices[spawnId] = i; } }