Commit 96907a28 authored by mercury233's avatar mercury233 Committed by nanahira

fix single replay name

parent 46a77a89
...@@ -1274,6 +1274,9 @@ public class Ocgcore : ServantWithCardDescription ...@@ -1274,6 +1274,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;
...@@ -1284,6 +1287,7 @@ public class Ocgcore : ServantWithCardDescription ...@@ -1284,6 +1287,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