script if name uncorrect
This commit is contained in:
parent
6b9b670373
commit
7c5ef50f9b
@ -21,12 +21,14 @@ namespace ZL
|
|||||||
}
|
}
|
||||||
} else if (gom.selectedCubes.size() >= 3 && gom.bearName.compare("TOM") != 0) {
|
} else if (gom.selectedCubes.size() >= 3 && gom.bearName.compare("TOM") != 0) {
|
||||||
std::cout << "Else" << std::endl;
|
std::cout << "Else" << std::endl;
|
||||||
|
elapsedTime += ms;
|
||||||
if (elapsedTime >= 2000) {
|
if (elapsedTime >= 2000) {
|
||||||
gom.bearName = "";
|
gom.bearName = "";
|
||||||
for (const auto& cube : gom.selectedCubes) {
|
for (const auto& cube : gom.selectedCubes) {
|
||||||
gInventoryMap[cube.name] = cube;
|
gInventoryMap[cube.name] = cube;
|
||||||
}
|
}
|
||||||
gom.selectedCubes.clear();
|
gom.selectedCubes.clear();
|
||||||
|
elapsedTime = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user