diff --git a/pages/js/rev2.js b/pages/js/rev2.js index 9add11d..c5fd2ff 100644 --- a/pages/js/rev2.js +++ b/pages/js/rev2.js @@ -15,6 +15,8 @@ export function update_rev2(data) { // Обновление HP const content_element = document.getElementById('rev2_emenies'); + content_element.innerHTML = ''; + data.enemies.forEach((emeny) => { let enemy_data = emeny.split(' ');