Every time I try to use the ConfigFile.get_value()-function it returns null for no apparent reason. Code is like so:
var loadgame = ConfigFile.new()
loadgame.load("user://savegame.save")
var player_name = loadgame.get_value("general","player name")
I also get a very weird error: Condition ' value[p_section].has(p_key) ' is true. returned: p_default
Isn't that telling me that a value was found but for whatever reason the default value was returned anyway? It does in fact return the default value, I checked that by changing it.
Thanks in advance for the help.