Skip to content

Commit

Permalink
actually fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sploder12 committed Jun 12, 2024
1 parent 8c4c473 commit c1472b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int n
double dt = std::min(now - prev, 0.1);
prev = now;

if (state.audioSkipping && now - skipTimer >= 0.2) {
if (state.audioSkipping && state.state == State::Game && now - skipTimer >= 0.2) {
try {
resources.sounds.bgmSkip(-(now - skipTimer) * 0.99);
skipTimer = now;
Expand Down

0 comments on commit c1472b3

Please sign in to comment.