Server Sync

Player move on sync
This commit is contained in:
AliIbnAbiTalib
2023-02-20 21:51:15 +01:00
parent 12c8843fed
commit 311f141feb
14 changed files with 66 additions and 25 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ public class Client : MonoBehaviour
((NoPlayablePlayer)players[job.data[1]]).CoinFieldAction(job.data[2]);
break;
case 7:
((NoPlayablePlayer)players[job.data[1]]).EventStopFinished();
(players[job.data[1]]).EventStopFinished();
break;
case 126:
stream.Write(new byte[]{126, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 0, 10);