maintaining

This commit is contained in:
C9Glax 2023-02-03 23:35:05 +01:00
parent 27cce159a4
commit f860ca9b9d

View File

@ -8,9 +8,9 @@ public class Server
public static Region LoadRegion(string folderPath, Coordinates coordinates)
{
string fullPath = Path.Combine(folderPath, coordinates.GetRegionHash(Importer.regionSize).ToString());
string fullPath = Path.Combine(folderPath, coordinates.GetRegionHash().ToString());
Console.WriteLine(fullPath);
Region retRegion = new Region(coordinates, Importer.regionSize);
Region retRegion = new Region(coordinates);
if (!File.Exists(fullPath))
return retRegion;