fixed fill enemies data, clean element
This commit is contained in:
parent
fbd62e9a03
commit
b1bce25137
@ -15,6 +15,8 @@ export function update_rev2(data) {
|
|||||||
|
|
||||||
// Обновление HP
|
// Обновление HP
|
||||||
const content_element = document.getElementById('rev2_emenies');
|
const content_element = document.getElementById('rev2_emenies');
|
||||||
|
content_element.innerHTML = '';
|
||||||
|
|
||||||
data.enemies.forEach((emeny) => {
|
data.enemies.forEach((emeny) => {
|
||||||
let enemy_data = emeny.split(' ');
|
let enemy_data = emeny.split(' ');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user