This commit is contained in:
brausjonas
2023-03-23 22:35:23 +00:00
parent 720c4deee1
commit 930fb5fa16
+4
View File
@@ -92,6 +92,10 @@ public class Server
//check for the incoming actions
switch(readData[0])
{
/**
* !!!!!!!!!!!!!!!!!!! 0 is not used because of possible empty arrays read in because of inital connection errors !!!!!!!!!!!!!!!!!!!!
*/
//this case generates a new room and sends the room code to the requester (not for join)
case 2:
//cache the generated room code