we can load polyos in the app now

This commit is contained in:
2025-03-31 21:14:06 +02:00
parent de14978b01
commit 46ebb88ef2
6 changed files with 78 additions and 35 deletions

View File

@@ -29,6 +29,7 @@ PiecesList::PiecesList() {
bool PiecesList::loadPieces(int size) {
if (size < 1) return false;
if (size <= this->highestLoadedSize) return true;
PiecesFiles piecesFiles;
for (int i = this->highestLoadedSize + 1; i <= size; i++) {