ID:2058814
 
Not a bug
BYOND Version:510.1333
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 49.0.2623.108
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
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().
Out of curiosity, does 510.1327 have this issue?

Also, if you print out the value of initial(layer), what does it say?
Never mind, I found the culprit, the older version I tested on saved the plane var settings on the items I had run a demo test to get the items to show over the new lighting system. When I loaded them back onto an older version of the game that doesnt use the plane vars it loaded that too which over-ride the layer var.
Lummox JR resolved issue (Not a bug)