|
|
@ -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() {
|
|
|
|