This commit is contained in:
in0finite 2021-09-08 18:19:24 +02:00
parent 7d36bc4493
commit 3d4ea8c0f5

View file

@ -79,7 +79,7 @@ namespace SanAndreasUnity.Importing.Paths
//TODO: according to https://gtamods.com/wiki/Paths_%28GTA_SA%29 only the active area and those surrounding it should be loaded at a time
for (int i = 0; i < 64; i++)
{
using (Stream node = SanAndreasUnity.Importing.Archive.ArchiveManager.ReadFile("nodes" + i + ".dat"))
using (Stream node = Archive.ArchiveManager.ReadFile("nodes" + i + ".dat"))
{
NodeFile nf = new NodeFile(i, node);
AddNode(nf);
@ -297,7 +297,7 @@ namespace SanAndreasUnity.Importing.Paths
}
catch (Exception)
{
Debug.Log("NodeReader.Borders is null");
Debug.LogError("NodeReader.Borders is null");
}
}
return -1;