File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 14
14
using namespace godot ;
15
15
16
16
static Ref<ResourceFormatLoaderSQLite> sqlite_loader;
17
- const char * DEFAULT_DB_NAME = " filesystem/import/sqlite/default_extension" ;
17
+ const char *DEFAULT_DB_NAME = " filesystem/import/sqlite/default_extension" ;
18
18
19
19
void initialize_sqlite_module (ModuleInitializationLevel p_level) {
20
20
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
@@ -29,9 +29,9 @@ void initialize_sqlite_module(ModuleInitializationLevel p_level) {
29
29
ResourceLoader::get_singleton ()->add_resource_format_loader (sqlite_loader);
30
30
PackedStringArray array;
31
31
array.push_back (" db" );
32
-
32
+
33
33
ProjectSettings *project_settings = ProjectSettings::get_singleton ();
34
-
34
+
35
35
if (!project_settings->has_setting (DEFAULT_DB_NAME)) {
36
36
project_settings->set (DEFAULT_DB_NAME, " " );
37
37
}
Original file line number Diff line number Diff line change 3
3
4
4
#include < godot_cpp/classes/file_access.hpp>
5
5
6
-
7
6
void SQLiteResource::set_file (const String &p_file) {
8
7
file = p_file;
9
8
emit_changed ();
You can’t perform that action at this time.
0 commit comments