Skip to content

Commit

Permalink
Debug PauseMenu and remove strings/str_save_failed_replay
Browse files Browse the repository at this point in the history
  • Loading branch information
kairusds committed Jan 4, 2022
1 parent e0f3e3c commit 6a9fd42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@
<string name="unranked_features">↓ Unranked features ↓</string>
<string name="mod_customization">↓ Mod customization ↓</string>

<string name="str_save_failed_replay">Click here to save replay</string>
<string name="message_save_replay_successful">Save failed replay success!</string>
<string name="message_save_replay_failed">Save replay failed</string>

Expand Down
2 changes: 1 addition & 1 deletion src/ru/nsu/ccfit/zuev/osu/menu/PauseMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public boolean onMenuItemClicked(final MenuScene pMenuScene,
case ITEM_SAVE_REPLAY:
if(fail && !replaySaved && !game.getReplaying()){
if (game.saveFailedReplay()){
ToastLogger.showTextId(R.string.message_save_replay_successful);
ToastLogger.showTextId(R.string.message_save_replay_successful, true);
replaySaved = true;
}
}else {
Expand Down

0 comments on commit 6a9fd42

Please sign in to comment.