ID:2627115
 
Not a bug
BYOND Version:513
Operating System:Windows 10 Pro 64-bit
Web Browser:Firefox 81.0
Applies to:Dream Daemon
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:

VIS_HIDE not being respected when applied to the overlays or underlays of the projected object

Numbered Steps to Reproduce Problem:

Code Snippet (if applicable) to Reproduce Problem:
Minimal repro: https://github.com/Cyberboss/VisHideBugRepro

Changing overlays to underlays yields the same result

Expected Results:

The "under" icon_state is not displayed on the right obj which is a vis_contents projection of the left obj

Actual Results:

It is displayed: https://cdn.discordapp.com/attachments/484170915253321734/ 767794542841036881/unknown.png

Does the problem occur:
Every time?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?

Unknown

Workarounds:

None

vis_flags don't apply to appearances, which is what your object becomes when you add it as an underlay. You'd have to add the object to the vis_contents of the right object, not as an underlay.

In your case, only the vis_flags of the object on the map is respected, since the underlay no longer actually has vis_flags.
Lummox JR resolved issue (Not a bug)