Skip to content

Commit

Permalink
fix gameplay issues
Browse files Browse the repository at this point in the history
  • Loading branch information
3drosalia committed May 10, 2024
1 parent ee398d3 commit 49a3dee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Encore/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1286,8 +1286,7 @@ int main(int argc, char* argv[])
diffSelected = true;
isPlaying = true;
startedPlayingSong = GetTime();
glfwSetKeyCallback(glfwGetCurrentContext(), keyCallback);
glfwSetGamepadStateCallback(gamepadStateCallback);

}
DrawTextRubik(diffList[a].c_str(), u.LeftSide + 150 - (MeasureTextRubik(diffList[a].c_str(), 30) / 2), BottomOvershell - 45 - (60 * (float)a), 30, WHITE);
}
Expand Down Expand Up @@ -1338,6 +1337,8 @@ int main(int argc, char* argv[])
if (GuiButton({ u.LeftSide, BottomOvershell, 300, u.hinpct(0.05f)}, "Ready Up!")) {
ReadyUpMenu = false;
menu.SwitchScreen(GAMEPLAY);
glfwSetKeyCallback(glfwGetCurrentContext(), keyCallback);
glfwSetGamepadStateCallback(gamepadStateCallback);
}

if (GuiButton({ 0,0,60,60 }, "<")) {
Expand Down

0 comments on commit 49a3dee

Please sign in to comment.