shuffle intros when more than 1 exists

pull/1020/head
Jeff Becker 5 years ago
parent a7a101e33c
commit 3147e2d357
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -427,6 +427,7 @@ namespace llarp
return false; return false;
bool shifted = false; bool shifted = false;
std::vector< Introduction > intros = currentIntroSet.I; std::vector< Introduction > intros = currentIntroSet.I;
if(intros.size() > 1)
{ {
std::random_device rd; std::random_device rd;
std::mt19937 g(rd()); std::mt19937 g(rd());

Loading…
Cancel
Save