ID:2915004
 
Resolved
Regression: An attempt to fix an issue with complex icon operations caused simpler operations to fail when they shouldn't have.
BYOND Version:515.1632
Operating System:Windows 10 Home 64-bit
Web Browser:Firefox 122.0
Applies to:Dream Daemon
Status: Resolved (515.1633)

This issue has been resolved.
Descriptive Problem Summary:
icon_states() does not provide any states within the returned list. This can be replicated with any icon with any amount of states or names.

Numbered Steps to Reproduce Problem:
1. have an icon with states within.
2. attempt to use icon_states() on that icon.

Code Snippet (if applicable) to Reproduce Problem:
world << icon_states(new/icon('tile.dmi')).len


Expected Results:
icon_states() returns a list of icon states by name.

Actual Results:
icon_states() returns an empty list.

Does the problem occur:
Every time? Or how often? Yes.
In other games? Yes.
In other user accounts? Yes.
On other computers? Yes.

When does the problem NOT occur? None of the time.

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.) 515.1631
Lummox JR resolved issue with message:
Regression: An attempt to fix an issue with complex icon operations caused simpler operations to fail when they shouldn't have.