ID:2968195
 
Resolved
Saving an alist() to a savefile would save it as a regular associative list, which was a problem for games that expected it to load as an alist(), especially if the alist used numeric keys.

Breaking change: Saving alist() going forward will force savefiles into 516.1660+ compatibility. You can set the savefile.byond_version or savefile.byond_build vars to older versions if you want to use the older list() format and maintain compatibility with older builds.
BYOND Version:516
Operating System:Windows 8 Enterprise 64-bit
Web Browser:Chrome 134.0.0.0
Applies to:Dream Daemon
Status: Resolved (516.1660)

This issue has been resolved.
When saving an /alist using byonds good ol' save system, the variable type in the savefile is a /list, not an /alist, which means that it's also loaded in as a regular ol' list, and not an alist.

test case sent over discord
Following up here because I forgot to yesterday: This was apparently an oversight when handling saving in 516. New data types should have been added for alists in the savefile.

In a future update I'll add this. Unless savefiles are given an explicit byond_version or byond_build to maintain compatibility, they'll save in the new format which will require they be loaded in newer versions.
Lummox JR resolved issue with message:
Saving an alist() to a savefile would save it as a regular associative list, which was a problem for games that expected it to load as an alist(), especially if the alist used numeric keys.

Breaking change: Saving alist() going forward will force savefiles into 516.1660+ compatibility. You can set the savefile.byond_version or savefile.byond_build vars to older versions if you want to use the older list() format and maintain compatibility with older builds.

Login to reply.