Settings alpha to color remains even in subsequent calls to modify color value, including null.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
turf
square
icon='square.dmi'
Click()
color = "#2288ff66"
spawn(10) color = "#ff8822"//Changes base color.
spawn(30) color = initial(color)//Becomes null, but transparency is still there.
spawn(50) color = "#ffffffff"//Resets
Expected Results:
subsequent calls without alpha byte to modify alpha back to "ff" restoring transparency to full visibility unless otherwise explicitly defined.
Actual Results:
transparency remains in any call unless alpha byte is included in set value to color.
Does the problem occur:
Every time? Or how often? Every time.
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
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.)
Workarounds:
define alpha byte as "ff" then nullify color.
color = "#ffffffff";color = null