fixed the fix

This commit is contained in:
Andreas Neue 2017-01-23 15:01:00 +01:00
parent 58fe1dbc4d
commit d7e3a441ee
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ func quizPrintRanklist(ranklist map[string]int) {
if len(ranklist) == 0 { if len(ranklist) == 0 {
return return
} }
ranklistTmp = copy(ranklist) ranklistTmp := make(map[string]int, 0)
for k, v := range ranklist {
ranklistTmp[k] = v
}
SayCh <- fmt.Sprintf("%s\nAktueller Punktestand:", "*") SayCh <- fmt.Sprintf("%s\nAktueller Punktestand:", "*")
for { for {
maxk := "" maxk := ""