This commit is contained in:
aozhiwei 2022-08-26 16:30:27 +08:00
parent 4521afd977
commit f8027e3d97

View File

@ -1717,7 +1717,7 @@ namespace MetaData
{
if (pb->id() == kDestoryMode) {
std::vector<std::string> strings;
a8::Split(pb->score_reward(), strings, '|');
a8::Split(pb->next_door(), strings, '|');
for (auto& str : strings) {
std::vector<std::string> strings2;
a8::Split(str, strings2, ':');
@ -1729,7 +1729,7 @@ namespace MetaData
v.y = a8::XValue(strings2[1]).GetDouble();
next_door.push_back(v);
}
if (next_door.size() != waves.size()) {
if (next_door.size() + 1 != waves.size()) {
abort();
}
}