#Error

10 messages · Page 1 of 1 (latest)

winged shuttle
languid hinge
#

in Godot 4 the "File" class was replaced by "FileAccess"
so you'd have to do:
var storage_data_file = FileAccess.open("res://data/Storages.json", FileAccess.READ)

#

unsure about the JSON parse thing

winged shuttle
#

One mistake is gone, but the others are still there

fickle ermine
#

You have to adjust these calls to match new API as written in the docs.

winged shuttle
winged shuttle
fickle ermine
#

You don't need to do .result either. Just cast to the type