Mercurial > hg > Members > anatofuz > logroulette
changeset 1:4fb2b1cac732
bug fix
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 27 May 2020 10:31:13 +0900 |
parents | 02ea3a34fe2c |
children | a92a8de9d190 |
files | run.go |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/run.go Tue May 26 17:03:59 2020 +0900 +++ b/run.go Wed May 27 10:31:13 2020 +0900 @@ -55,13 +55,13 @@ } if len(entryUsers) == 0 { - for _, user := range users { + entryUsers = users + for _, user := range entryUsers { user.Done = false } - entryUsers = users } - targetUser, newUsers := loulette(users) + targetUser, newUsers := loulette(entryUsers) return targetUser.Id, newUsers, nil }