So I'm loading some files into a dictionary, and in the editor, it works fine.
However, when exported, I get the above error, when trying to assign the index "BasicAttack".
Here's the code for the assignment:
var name = file.substr(0, file.length() - 3)
var attack = load("res://Code/Attacks/" + file)
var attackJson = {}
attackJson.parse_json(jsonData[name])
attacks[name] = attack.new(attackJson.attack.name, attackJson.attack.internalName, attackJson.attack.pushback)
Why would this be?
(I'm using 2.1 alpha, at the moment.)