use fmt in a commented-out debug logging block

This commit is contained in:
Kistaro Windrider 2023-01-01 13:29:52 -08:00
parent 46f1339e19
commit 3e2229be65
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1088,7 +1088,7 @@ function rope:draw(artificial_px,artificial_py)
if (anch.ady>0) y-=1
end
rectfill(x-1,y-1,x+1,y+1,12)
print("ax="..n1.ax..",ay="..n1.ay,72,sy)
print(fmt("ax=%v,ay=%v",n1.ax,n1.ay),72,sy)
sy+=7
local n0=n1.prev