Commit 27c37884 authored by mercury233's avatar mercury233

fix replay tag name

parent 143e7f88
......@@ -1250,6 +1250,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();
......
......@@ -180,6 +180,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