ID:78351
 
This issue has been marked as a duplicate of id:76850
BYOND Version:447
Operating System:Windows XP Pro
Web Browser:Firefox 3.5.1
Status: Duplicate

This issue has been marked as a duplicate of id:76850
Descriptive Problem Summary:
Using initial() along with lists produces a very weird result. An object of some kind that cannot be accessed at all. Printing it produces a "bad output" error, accessing it produces a "cannot read [BLANK].var" error.

Numbered Steps to Reproduce Problem:
See below:

Code Snippet (if applicable) to Reproduce Problem:
mob
var/list/cake = list(
"abc" = "123"
)

verb
test()
var/list/cake_initial = initial(cake)
src << cake_initial.len


Expected Results:
It'd return the initial value of the variable (a list). Or atleast not a buggy broken return value.

Actual Results:
A buggy broken return value.

Does the problem occur:
Every time? Or how often? Every time.
In other games? Yes.
In other user accounts? Probably.
On other computers? Possibly.

When does the problem NOT occur?
Never

Workarounds:
Don't use initial() like that.