config.starting_location is now config.player.starting_location

master
rasul 5 years ago
parent aba6e663df
commit 0f9da2da65

@ -82,7 +82,7 @@ impl Game {
name: username.clone(), name: username.clone(),
password: pass, password: pass,
created: Utc::now(), created: Utc::now(),
location: self.config.starting_location.clone(), location: self.config.player.starting_location.clone(),
}; };
if self.db.single_save_player(token, &player).is_ok() { if self.db.single_save_player(token, &player).is_ok() {

Loading…
Cancel
Save