Skip to content

Commit

Permalink
refactor: rename 'database.db' to 'db.sqlite3'
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenMian committed Feb 4, 2024
1 parent 3af6ada commit 3c44ddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
/.idea
config.toml
keymap.toml
database.db
db.sqlite3
2 changes: 1 addition & 1 deletion src/systems/level.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::sync::Mutex;

/// Sets up the database, initializes it, and loads levels from files into the database.
pub fn setup_database(mut commands: Commands) {
let database = database::Database::from_file(Path::new("database.db"));
let database = database::Database::from_file(Path::new("db.sqlite3"));
database.initialize();
info!("Loading levels from files");
for path in fs::read_dir("assets/levels/").unwrap() {
Expand Down

0 comments on commit 3c44ddd

Please sign in to comment.