We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f527a commit 68a6202Copy full SHA for 68a6202
src/PlayLayer.cpp
@@ -69,7 +69,7 @@ class $modify(MyPlayLayer, PlayLayer) {
69
void resetLevel() {
70
PlayLayer::resetLevel();
71
manager->addedNextKeyWhenLabel = false;
72
- for (auto [coin, collected] : manager->coins) {
+ for (auto &[coin, collected] : manager->coins) {
73
collected = false;
74
}
75
if (!manager->channel) return;
0 commit comments