Skip to content

Commit

Permalink
Use Player Reload instead of Load for Notedata resetting in Gameplay
Browse files Browse the repository at this point in the history
this should fix the slowness of a few things in practice and replay
  • Loading branch information
poco0317 committed Nov 1, 2019
1 parent f32b31a commit 3f16a6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Etterna/Screen/Gameplay/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ ScreenGameplay::SetupNoteDataFromRow(Steps* pSteps, int row)
m_vPlayerInfo.m_NoteData = ndTransformed;
NoteDataUtil::RemoveAllTapsOfType(m_vPlayerInfo.m_NoteData,
TapNoteType_AutoKeysound);
m_vPlayerInfo.m_pPlayer->Load();
m_vPlayerInfo.m_pPlayer->Reload();
}

// load auto keysounds
Expand Down
2 changes: 1 addition & 1 deletion src/Etterna/Screen/Gameplay/ScreenGameplayPractice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ScreenGameplayPractice::SetupNoteDataFromRow(Steps* pSteps,
m_vPlayerInfo.m_NoteData = ndTransformed;
NoteDataUtil::RemoveAllTapsOfType(m_vPlayerInfo.m_NoteData,
TapNoteType_AutoKeysound);
m_vPlayerInfo.m_pPlayer->Load();
m_vPlayerInfo.m_pPlayer->Reload();
}

// load auto keysounds
Expand Down

0 comments on commit 3f16a6c

Please sign in to comment.