fmt in debugmouse:draw3.

This is literally the reason I implemented fmt in the first place
This commit is contained in:
Kistaro Windrider 2023-01-01 13:31:34 -08:00
parent 3e2229be65
commit ce3fc83221
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1863,7 +1863,7 @@ function debugmouse:draw3()
if (c == " ") spr(50,x,y) if (c == " ") spr(50,x,y)
print(c,x,y,15) print(c,x,y,15)
local px, py = mid(0,x,89), mid(0, y > 111 and y - 12 or y + 6, 117) local px, py = mid(0,x,89), mid(0, y > 111 and y - 12 or y + 6, 117)
print("("..x..", "..y..")\n["..(x\8)..", "..(y\8).."]",px,py,15) print(fmt("(%v, %v)\n[%v, %v]",x,y,x\8,y\8),px,py,15)
pal() pal()
end end