Merge pull request #26099 from Cyberboss/ShuffleFix

Corrects incorrect shuffles
This commit is contained in:
oranges
2017-04-13 11:09:04 +12:00
committed by GitHub
9 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -224,7 +224,7 @@
var/agentcount = 0
for(var/i = 0, i<numagents,i++)
shuffle(candidates) //More shuffles means more randoms
shuffle_inplace(candidates) //More shuffles means more randoms
for(var/mob/j in candidates)
if(!j || !j.client)
candidates.Remove(j)