From d7e3a441eefdd76798e5df66aad039465aba304c Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Mon, 23 Jan 2017 15:01:00 +0100 Subject: [PATCH] fixed the fix --- modules/quiz.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 := ""