Permalink
Browse files

fix indent

  • Loading branch information...
abma committed Sep 18, 2018
1 parent 279cc7f commit 2acfc17e27bb293f6dacce8576e26d535700997c
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/spring.cpp
@@ -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()) {

0 comments on commit 2acfc17

Please sign in to comment.