For some strange reason my dictionary from singleton that I need to modify gets COWed in script. I've checked documentation and it clearly states that dictionaries are shared (http://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_basics.html#built-in-types).
I've tried accessing dictionary with
onready var key = global.data['key'] as well as
onready var key = get_node("/root/global").data['key']but when code hits the
key = 'variable' my dictionary simply gets copied.
tl;dr Do I have to use setter/getter to modify dictionary in a singleton or am I missing something?