maintaining
This commit is contained in:
parent
27cce159a4
commit
f860ca9b9d
@ -8,9 +8,9 @@ public class Server
|
|||||||
|
|
||||||
public static Region LoadRegion(string folderPath, Coordinates coordinates)
|
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);
|
Console.WriteLine(fullPath);
|
||||||
Region retRegion = new Region(coordinates, Importer.regionSize);
|
Region retRegion = new Region(coordinates);
|
||||||
if (!File.Exists(fullPath))
|
if (!File.Exists(fullPath))
|
||||||
return retRegion;
|
return retRegion;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user