Fixing the null error

Parent nodes only call _ready when all of their children are done with _ready, so the database is not created yet.


Make sure to paste code instead of screenshots