1
0
forked from MTSR/mapserver

half hearts and bubbles

This commit is contained in:
NatureFreshMilk 2019-02-25 08:15:58 +01:00
parent 9be625fae4
commit 6130549fb5
3 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ var PlayerOverlay = L.LayerGroup.extend({
html += "<img src='pics/heart.png'>";
if (player.hp % 2 == 1)
html += "<img src='pics/heart.png' width='8'>";
html += "<img src='pics/heart_half.png'>";
html += "<br>";
@ -45,7 +45,7 @@ var PlayerOverlay = L.LayerGroup.extend({
html += "<img src='pics/bubble.png'>";
if (player.breath % 2 == 1)
html += "<img src='pics/bubble.png' width='8'>";
html += "<img src='pics/bubble_half.png'>";
marker.bindPopup(html);

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B