ID:2637393
 
Resolved
The compiler allowed vis_locs and vis_flags to be defined under /image; these vars are only relevant to turfs and movable atoms.
BYOND Version:513.1536
Operating System:Windows 10 Pro 64-bit
Web Browser:Chrome 87.0.4280.66
Applies to:Dream Maker
Status: Resolved (513.1537)

This issue has been resolved.
Descriptive Problem Summary:
Dream Maker compiles /image with vis_flags, but not /atom
Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
/image
vis_flags = VIS_UNDERLAY // This compiles

/atom
vis_flags = VIS_UNDERLAY // This doesn't


Expected Results:
/atom should have vis_flags, but /image shouldn't
Actual Results:
The reverse
Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? Idk
On other computers? Idk

When does the problem NOT occur?
Never
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.)
Tried 512.1535, doesn't work
Workarounds:

/atom should not have vis_flags. The only bug here is that /image does.
Was about to post the same thing, the reference even states

"Because only turfs, objs, and mobs can be in visual contents, this var belongs only to those types."
Lummox JR resolved issue with message:
The compiler allowed vis_locs and vis_flags to be defined under /image; these vars are only relevant to turfs and movable atoms.