If an object has any overlays, it will be completely invisible in the right-click icon preview menu.
Numbered Steps to Reproduce Problem:
1. Make an object that adds an overlay on New().
2. Make an object that does not add an overlay on New().
3. Observe that the object with no overlays correctly shows up in the right click menu, and the one with overlays does not show a preview.
Code Snippet (if applicable) to Reproduce Problem:
/obj/testing_object
name = "Testing Object"
icon = 'testing.dmi'
icon_state = "test_base"
/obj/testing_object/New()
overlays += image('testing.dmi', icon_state = "test_overlay")
/obj/non_testing_object
name = "No-overlay object"
icon = 'testing.dmi'
icon_state = "test_base"
Expected Results:
Both objects would show up correctly in the right click preview.
Actual Results:
Only objects with no overlays show up correctly.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Unknown.
In other user accounts? Yes.
On other computers? Unknown.
When does the problem NOT occur? When an object has no overlays, it does not experience the bug.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? With 507.1286, both objects show up, however, the object with an overlay only shows it's overlay with a black background instead of it's normal icon.
Workarounds: None known.
It's been happening for ages and I never got around to a bug report.