Commit ef4bcd07 authored by mercury233's avatar mercury233

fix single replay name

parent 521428a9
...@@ -1250,6 +1250,9 @@ public class Ocgcore : ServantWithCardDescription ...@@ -1250,6 +1250,9 @@ public class Ocgcore : ServantWithCardDescription
name_1 = r.ReadUnicode(50); name_1 = r.ReadUnicode(50);
name_1_tag = r.ReadUnicode(50); name_1_tag = r.ReadUnicode(50);
name_1_c = r.ReadUnicode(50); name_1_c = r.ReadUnicode(50);
bool isTag = !(name_0_tag == "---" && name_1_tag == "---" && name_0 == name_0_c && name_1 == name_1_c);
if (isTag)
{
if (isFirst) if (isFirst)
{ {
name_0_c = name_0; name_0_c = name_0;
...@@ -1260,6 +1263,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -1260,6 +1263,7 @@ public class Ocgcore : ServantWithCardDescription
name_0_c = name_0_tag; name_0_c = name_0_tag;
name_1_c = name_1; name_1_c = name_1;
} }
}
if (r.BaseStream.Position < r.BaseStream.Length) if (r.BaseStream.Position < r.BaseStream.Length)
{ {
MasterRule = r.ReadInt32(); MasterRule = r.ReadInt32();
......
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