refactor a bit

This commit is contained in:
MihailRis
2025-07-14 00:02:29 +03:00
parent 5fdff1f8f6
commit 29021d1178
6 changed files with 14 additions and 6 deletions
+1
View File
@@ -128,6 +128,7 @@ void Block::cloneTo(Block& dst) {
for (int i = 0; i < 6; i++) {
dst.defaults = defaults;
}
dst.defaults = defaults;
if (variants) {
dst.variants = std::make_unique<Variants>(*variants);
}