when you give something a variable that has the same name as the type of another variable and they are right below each other you will get an error.
Numbered Steps to Reproduce Problem:
Description + Code
Code Snippet (if applicable) to Reproduce Problem:
Map
parent_type = /obj
mob
var
Map = 0
Map/ThisMap
New()
..()
Map = 1
Expected Results:
No Errors.
Actual Results:
Error
Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? N/A
On other computers? Probably...
When does the problem NOT occur?
when the variables aren't defined under the same variable (node/parent whatever you want to call it)
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not sure
Workarounds:
By moving the variable under another variable note/parent thingy...
Something like this should fix it.
Map
parent_type = /obj
mob/var/Map/ThisMap
mob
var
Map = 0
New()
..()
Map = 1