var/timeday='Time Day.png'
mob
proc
BackgroundAdd(var/num, var/numy)
for(var/image/asd in src)
del asd
var/image/asd=image(tech, src)
src.icon='Time Day.png'
src.pixel_y=numy
src.pixel_x=num
src.layer=1
src << asd
BackgroundRemove()
for(var/image/asd in src)
del asd
Problem description:
That's my background's add proc and my remove proc. I know that it's not the better one. Everytime i add a background, it works fine. The problem is when i want to remove it. It simply does not work, nothing is removed, even when every "asd" (background image) is supposed to be deleted. Is there a way to remove it or modify its icon (the asd one) atleast?