fix highscore bug
This commit is contained in:
parent
52dcce3013
commit
c40030a13e
@ -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) =>
|
||||
|
Loading…
Reference in New Issue
Block a user