diff --git a/source/scripts/engine.js b/source/scripts/engine.js index 3a37e82..00b17ed 100644 --- a/source/scripts/engine.js +++ b/source/scripts/engine.js @@ -153,6 +153,7 @@ var GUI = { }, image(path,pos) { + let wh = cmd(64,path); gui_img(path,screen2world(pos)); return cwh2bb([0,0], cmd(64,path)); },