when you forget to undebug

This commit is contained in:
Bui 2018-08-26 18:09:31 +01:00
parent 05608e341d
commit 75d300d060

View File

@ -191,7 +191,6 @@ function View(controller, bg, title, diff){
var barColour = document.getElementById('hp-bar-colour'); var barColour = document.getElementById('hp-bar-colour');
_ctx.drawImage(barBG, _HPBarX, _HPBarY, _HPBarW, _HPBarH); _ctx.drawImage(barBG, _HPBarX, _HPBarY, _HPBarW, _HPBarH);
console.log(_HPBarColWImage);
_ctx.drawImage(barColour, 0, 0, Math.max(1, Math.floor(_HPBarColWImage)), 40, _HPbarColX, _HPbarColY, _HPBarColWCanvas, _HPBarColH); _ctx.drawImage(barColour, 0, 0, Math.max(1, Math.floor(_HPBarColWImage)), 40, _HPbarColX, _HPbarColY, _HPBarColWCanvas, _HPBarColH);
} }