TCP for world transfer
wichtige daten bei der UDP übertragung gehen verloren.
This commit is contained in:
@@ -58,6 +58,7 @@ public class World : MonoBehaviour
|
||||
{
|
||||
CreateChunks();
|
||||
}
|
||||
Console.WriteLine("world loaded! \n");
|
||||
server = new Server(this, transferDelay);
|
||||
}
|
||||
|
||||
@@ -214,5 +215,6 @@ public class World : MonoBehaviour
|
||||
}
|
||||
}
|
||||
writer.Close();
|
||||
Console.WriteLine("world saved! \n");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user