fix highscore bug

This commit is contained in:
Florian Schmid 2023-04-26 23:45:29 +02:00
parent 52dcce3013
commit c40030a13e

View File

@ -28,6 +28,7 @@ class UI {
this.cpuName = document.getElementById("cpuName");
this.nextRound();
this.updateScores();
this.buttons.forEach(
(btn) => {
@ -62,7 +63,6 @@ class UI {
)
this.model.nextRound();
this.cpuName.innerText = this.model.currentCpu.name;
this.model.Dates.forEach((value, index) =>