RenderIcon when used to display multiple icons in the browser glitches out causing all returned cache from RenderIcon to the 1st thing rendered.
Code Snippet (if applicable) to Reproduce Problem:
mob/proc/RenderOutfit(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O)
var obj/outfit/o = new
o.icon = icon
o.icon_state = icon_state
o.Edit(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O)
client << browse_rsc(client.RenderIcon(o),"O[A][B][C][D][E][F][G][H][I][J][K][L][M][N][O].png")
return "O[A][B][C][D][E][F][G][H][I][J][K][L][M][N][O].png"
mob/player
icon = 'base.dmi'
icon_state = "human female"
Login()
InitializeOutfit()
outfit.Edit(1,1,1,1,1,1,3,5,1,1,0,0,0,0,0)
..()
src << browse({"
<img src=[RenderOutfit(0,0,0,0,0,0,0,3,0,0,0,0,0,0,0)]><br>
<img src=[RenderOutfit(0,0,0,0,0,0,0,4,0,0,0,0,0,0,0)]><br>
"})
var obj/outfit/outfit
Expected Results:
Displays each outfit with the parameters provided.
Each argument is a equipment slot for a item, which is a number to represent the item in that slot.
Actual Results:
It seems to replace all outfits provided when sent to the browser with the first outfit generated.
Moar Information:
This is what it looks like using RenderOutfit() twice in the browser.
![](https://i.imgur.com/uE6BqFT.png)
This is what it looks like after deleting the top RenderOutfit() call and just having the bottom one.
![](https://i.imgur.com/tT1XtZC.png)