Skip to content

Commit

Permalink
allow and make ssm lock the wheel directly on song finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 4, 2018
1 parent 1c3b3d9 commit 4689f71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ScreenSelectMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,7 @@ ScreenSelectMusic::SelectCurrent(PlayerNumber pn)
* requests come through, the music will still start. */
m_BackgroundLoader.Abort();
CheckBackgroundRequests(true);

m_MusicWheel.Lock();
if (OPTIONS_MENU_AVAILABLE) {
// show "hold START for options"
this->PlayCommand("ShowPressStartForOptions");
Expand Down
1 change: 1 addition & 0 deletions src/WheelBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class WheelBase : public ActorFrame
virtual bool Select(); // return true if this selection can end the screen

WheelState GetWheelState() { return m_WheelState; }
void Lock() { m_WheelState = STATE_LOCKED; }
bool WheelIsLocked()
{
return (m_WheelState == STATE_LOCKED ? true : false);
Expand Down

0 comments on commit 4689f71

Please sign in to comment.