Commit 9b0c02cf authored by mercury233's avatar mercury233 Committed by Unicorn369

fix yrp3d replay older than v1.034.9

parent bd33f487
......@@ -1318,7 +1318,8 @@ public class Ocgcore : ServantWithCardDescription
isFirst = ((playertype & 0xf) > 0) ? false : true;
gameInfo.swaped = false;
isObserver = ((playertype & 0xf0) > 0) ? true : false;
r.ReadByte(); // duel_rule
if (r.BaseStream.Length > 17) // dumb fix for yrp3d replay older than v1.034.9
r.ReadByte(); // duel_rule
life_0 = r.ReadInt32();
life_1 = r.ReadInt32();
lpLimit = life_0;
......
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