If one creates an environment and then creates a variable with the exact same name (minus the .dme extenstion) the variable will default to 0 regardless of its initialization.
Numbered Steps to Reproduce Problem:
1) Create a new environment (ie: cake)
2) Create a new .dm file
3) In that dm file, define a variable with the same name as the environment (ie: mob/var/cake)
4) Output the variable (ie: world << cake)
Code Snippet (if applicable) to Reproduce Problem:
The name of the environment has no relation to the value of a variable
A variable with the same name as the environment defaults to 0
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
If the variable or environment are renamed
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?
Rename the variable or environment