Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
abma committed Sep 18, 2018
1 parent 279cc7f commit 2acfc17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spring.cpp
Expand Up @@ -270,9 +270,9 @@ std::string Spring::WriteScriptTxt(IBattle& battle) const
remap_positions = std::vector<LSL::StartPos>(infos.positions.begin(), infos.positions.begin() + copysize); // only add the first x positions

if (startpostype == IBattle::ST_Random) {
std::random_device seed;
std::mt19937 rng(seed());
std::shuffle(remap_positions.begin(), remap_positions.end(), rng); // shuffle the positions
std::random_device seed;
std::mt19937 rng(seed());
std::shuffle(remap_positions.begin(), remap_positions.end(), rng); // shuffle the positions
}
}
if (battle.IsProxy()) {
Expand Down

0 comments on commit 2acfc17

Please sign in to comment.