Skip to content

Commit 998ccbd

Browse files
fix set total attempts
1 parent 2e6dc66 commit 998ccbd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hacks/Level/StartPosSwitcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ namespace eclipse::hacks::Level {
101101

102102
// level total
103103
GJGameLevel* level = gameLayer->m_level;
104-
level->setAttempts(level->m_attempts.value() - 1);
104+
level->m_attempts = level->m_attempts.value() - 1;
105105
};
106106

107107
float delay = config::get<float>("level.startpos_switcher.delay", 0.f);

0 commit comments

Comments
 (0)