If I attempt to query the overlays/underlays list on an appearance object (such as from the appearance var or the overlays list of an object) a runtime error occurs
Numbered Steps to Reproduce Problem:
1. get appearance object from like appearance or overlays
2. try to access overlays
Code Snippet (if applicable) to Reproduce Problem:
var/image/I = some_obj.appearance
world.log << "[I.overlays.len]" // runtime error: undefined variable /var/overlays
This does not cause an error
var/image/I = new // actual image object here
world.log << "[I.overlays.len]" // this is fine
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
when its not an actual appearance object
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.)
create a mutable appearance using the appearance and access the overlays/underlays list using that