The variable blend_mode can only be changed on an object once. After that, it will refuse any additional attempts to change its value.
Code Snippet (if applicable) to Reproduce Problem:
var/obj/O = new()
world.log << O.blend_mode
O.blend_mode = 1
world.log << O.blend_mode
O.blend_mode = 2
world.log << O.blend_mode
Expected Results:
0
1
2
Actual Results:
0
1
1
When does the problem NOT occur?
No idea.
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.)
New to 1596.
Workarounds:
I'm guessing one exists, but I haven't found it.