TCP for world transfer

wichtige daten bei der UDP übertragung gehen verloren.
This commit is contained in:
brausjonas
2022-05-13 02:48:53 +02:00
parent afedf345f8
commit 8b2ac28a16
11 changed files with 102 additions and 76 deletions
+2
View File
@@ -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");
}
}