Skip to content

Commit

Permalink
Warn players that Replays with weird mods break stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Nov 29, 2019
1 parent 39d57ea commit 48a40aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Etterna/Screen/Others/ScreenSelectMusic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1638,6 +1638,14 @@ class LunaScreenSelectMusic : public Luna<ScreenSelectMusic>
return 1;
}

// Warn but do not disallow Replays that use playback-breaking mods.
PlayerOptions potmp;
potmp.FromString(hs->GetModifiers());
if (potmp.ContainsTransformOrTurn()) {
SCREENMAN->SystemMessage("Warning: This Replay uses modifiers "
"which may break the Replay playback.");
}

bool likely_entering_gameplay =
p->SelectCurrent(PLAYER_1, GameplayMode_Replay);

Expand Down

0 comments on commit 48a40aa

Please sign in to comment.