When trying to use rendericon to get proper icon to render near message in browser, their image got squished, so i decided to check what resolution icon is being rendered in, and it turned out to be wrong resolution. Then i decided to run the same snippet in project unrelated to mine, and it did exactly the same thing. Am i using it wrong or there's something wrong going on?
Will provide with additional information requested to resolve this, Thank you.
Trying out same code in two different projects
Code Snippet (if applicable) to Reproduce Problem:
fps = 20 // 25 frames per second
icon_size = 32 // 32x32 icon size by default
view = 7 // show up to 6 tiles outward from center (15x15 view)
var/icon/I = icon(client.RenderIcon(object))
world << "[I.Width()]"
world << "[I.Height()]"
src << "\icon[I] Thats a [object.name]"
Icon with 32x32 size
Icon with 128x32 size
Does the problem occur:
Tested it on three separate projects, always had same result
When does the problem NOT occur?
Couldn't make it work proper
Using old method of icon display in css