initial() proc should restore items that are loaded from a save to there initial() compile-time layer but does not.
Numbered Steps to Reproduce Problem:
Try loading a save with an item created from a previous byond version and load it into a world compiled in 510.1333. The initial() proc should return the items layer back to its compile time variable but doesn't respond like it should.
Code Snippet (if applicable) to Reproduce Problem:
src.layer = initial(src.layer)
Expected Results:
It should return the items layer to the compiled time variable of the items layer.
Actual Results:
It does not seem to have an effect.
When does the problem NOT occur?
When I revert the game version back to 509, have not tried any other versions yet.
Workarounds:
Manuel set the items layer manually instead of using initial().
Also, if you print out the value of initial(layer), what does it say?