Skip to content

Commit

Permalink
Allow Challenges to save replays
Browse files Browse the repository at this point in the history
Will go in the skirmish section as they are essentially one.
  • Loading branch information
KJeff01 authored and pull[bot] committed Jun 19, 2023
1 parent 6be5c6e commit 1154919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -994,9 +994,9 @@ static void startGameLoop()
// should not happen
break;
case ActivitySink::GameMode::CAMPAIGN:
case ActivitySink::GameMode::CHALLENGE:
// replays not currently supported
break;
case ActivitySink::GameMode::CHALLENGE:
case ActivitySink::GameMode::SKIRMISH:
case ActivitySink::GameMode::MULTIPLAYER:
{
Expand Down
2 changes: 1 addition & 1 deletion src/multiint.cpp
Expand Up @@ -8370,9 +8370,9 @@ size_t WZGameReplayOptionsHandler::desiredBufferSize() const
// should not happen
break;
case ActivitySink::GameMode::CAMPAIGN:
case ActivitySink::GameMode::CHALLENGE:
// replays not currently supported
break;
case ActivitySink::GameMode::CHALLENGE:
case ActivitySink::GameMode::SKIRMISH:
return 0; // use default
case ActivitySink::GameMode::MULTIPLAYER:
Expand Down

0 comments on commit 1154919

Please sign in to comment.