Adding image with directions to your
client.image
does not update to match the atom.dir
.Link to demo: http://files.byondhome.com/Hydrugen/ImageDir_src_.zip
Numbered Steps to Reproduce Problem:
1. Run the world from the demo with Dream Maker.
2. Move the mob that has the attachment or image() added in the client.image.
Code Snippet (if applicable) to Reproduce Problem:
atom
icon = 'icon_32x32.dmi'
turf
icon_state = "turf"
mob
var
image/attachment
New()
..()
src.attachment = new/image {override = 1}
src.attachment.loc = src
Login()
src.attachment.icon = 'icon_32x32.dmi'
src.attachment.icon_state = "mob"
src.client.images += src.attachment //adding this to client.image makes attachment.dir set to SOUTH only and doesn't update to match the mob
// Same thing as the code above
// Same result
// src.client.images += image('icon_32x32.dmi', icon_state = "mob", loc = src)
src.loc = locate(5, 5, 1)
Expected Results:
attachment.dir
matches the mob.dir
Actual Results:
attachment.dir
remains SOUTH.Does the problem occur:
Every time? Or how often? Every Time (BYOND Version 512.1414, 512.1415, 512.1416)
In other games? N/A
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Downgrading to version 512.1413 does not have this problem.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
BYOND version 512.1413 and below doesn't have this problem.
Workarounds:
N/A