Commit 458297e0 authored by mercury233's avatar mercury233 Committed by nanahira

fix replay tag name

parent db83b4fe
......@@ -1274,6 +1274,16 @@ public class Ocgcore : ServantWithCardDescription
name_1 = r.ReadUnicode(50);
name_1_tag = r.ReadUnicode(50);
name_1_c = r.ReadUnicode(50);
if (isFirst)
{
name_0_c = name_0;
name_1_c = name_1_tag;
}
else
{
name_0_c = name_0_tag;
name_1_c = name_1;
}
if (r.BaseStream.Position < r.BaseStream.Length)
{
MasterRule = r.ReadInt32();
......
......@@ -187,6 +187,7 @@ public class selectReplay : WindowServantSP
reader = new BinaryReader(new MemoryStream(raw));
if ((returnValue.Flag & 0x2) > 0)
{
Program.I().room.mode = 2;
returnValue.playerData.Add(new Percy.YRP.PlayerData());
returnValue.playerData.Add(new Percy.YRP.PlayerData());
returnValue.playerData.Add(new Percy.YRP.PlayerData());
......
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