22
33#include < gdextension_interface.h>
44
5+ #include < godot_cpp/classes/project_settings.hpp>
56#include < godot_cpp/core/class_db.hpp>
67#include < godot_cpp/core/defs.hpp>
78#include < godot_cpp/godot.hpp>
8- #include < godot_cpp/classes/project_settings.hpp>
99
1010#include " gdsqlite.h"
1111#include " resource_loader_sqlite.h"
@@ -20,7 +20,7 @@ void register_setting(
2020 const Variant &p_value,
2121 PropertyHint p_hint,
2222 const String &p_hint_string,
23- bool restart_if_changed) {
23+ bool restart_if_changed) {
2424 ProjectSettings *project_settings = ProjectSettings::get_singleton ();
2525
2626 if (!project_settings->has_setting (p_name)) {
@@ -35,7 +35,7 @@ void register_setting(
3535
3636 project_settings->add_property_info (property_info);
3737 project_settings->set_initial_value (p_name, p_value);
38- project_settings->set_restart_if_changed (p_name, true );
38+ project_settings->set_restart_if_changed (p_name, true );
3939}
4040
4141void initialize_sqlite_module (ModuleInitializationLevel p_level) {
@@ -49,7 +49,7 @@ void initialize_sqlite_module(ModuleInitializationLevel p_level) {
4949
5050 sqlite_loader.instantiate ();
5151 ResourceLoader::get_singleton ()->add_resource_format_loader (sqlite_loader);
52- PackedStringArray array;
52+ PackedStringArray array;
5353 array.push_back (" db" );
5454 register_setting (" filesystem/import/sqlite/default_extension" , array, PROPERTY_HINT_NONE, {}, true );
5555}
0 commit comments