diff --git a/modules/quiz.go b/modules/quiz.go index 0315484..327c7af 100644 --- a/modules/quiz.go +++ b/modules/quiz.go @@ -102,7 +102,10 @@ func quizPrintRanklist(ranklist map[string]int) { if len(ranklist) == 0 { return } - ranklistTmp = copy(ranklist) + ranklistTmp := make(map[string]int, 0) + for k, v := range ranklist { + ranklistTmp[k] = v + } SayCh <- fmt.Sprintf("%s\nAktueller Punktestand:", "*") for { maxk := ""