Skip to content

Commit

Permalink
what was i thinking
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaghettDev committed Apr 19, 2024
1 parent be66664 commit 5bbb038
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/roulette/layers/RLRouletteLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,10 +737,8 @@ CCMenuItemSpriteExtra* RLRouletteLayer::createDifficultyButton(
menu_selector(RLRouletteLayer::onDifficultyButton)
);
if (
(
rl::utils::getIndexOf(g_rouletteManager.getFromSaveContainer("selected-list-array").as_array(), true) != 0 &&
m_selected_difficulty != difficulty
) || m_selected_difficulty != difficulty
rl::utils::getIndexOf(g_rouletteManager.getFromSaveContainer("selected-list-array").as_array(), true) != 0 ||
m_selected_difficulty != difficulty
)
button->setColor({ 125, 125, 125 });
button->setPosition(point);
Expand Down

0 comments on commit 5bbb038

Please sign in to comment.