Commit 57d4b3a3 authored by Momobako's avatar Momobako

Merge branch 'master' of https://github.com/moecube/windbot

parents 83dd9d40 45da42ab
...@@ -326,6 +326,7 @@ namespace WindBot.Game ...@@ -326,6 +326,7 @@ namespace WindBot.Game
{ {
int type = packet.ReadByte(); int type = packet.ReadByte();
_duel.IsFirst = (type & 0xF) == 0; _duel.IsFirst = (type & 0xF) == 0;
_duel.Turn = 0;
_duel.LifePoints[GetLocalPlayer(0)] = packet.ReadInt32(); _duel.LifePoints[GetLocalPlayer(0)] = packet.ReadInt32();
_duel.LifePoints[GetLocalPlayer(1)] = packet.ReadInt32(); _duel.LifePoints[GetLocalPlayer(1)] = packet.ReadInt32();
int deck = packet.ReadInt16(); int deck = packet.ReadInt16();
...@@ -1244,4 +1245,4 @@ namespace WindBot.Game ...@@ -1244,4 +1245,4 @@ namespace WindBot.Game
_ai.CleanSelectMaterials(); _ai.CleanSelectMaterials();
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment