ID:2123169
 
Resolved
Assigning a color matrix in short form failed to handle null values correctly.
BYOND Version:510
Operating System:N/A
Web Browser:N/A
Applies to:Dream Daemon
Status: Resolved (511.1350)

This issue has been resolved.
Descriptive Problem Summary:

Assigning a color matrix in "short form" did not handle nulls correctly.

Code Snippet (if applicable) to Reproduce Problem:
atom.color = list(null, null, null, "#0000", "#000f")


Expected Results:

The resulting color matrix should be:

list(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,0, 0,0,0,1)


Actual Results:

The first 12 values are kept at their previous values, rather than being set to defaults.
Lummox JR resolved issue with message:
Assigning a color matrix in short form failed to handle null values correctly.