Console Logged brief Info on Save State
parent
51a9aa3ee6
commit
398465db02
|
@ -58,6 +58,7 @@ class GameState {
|
|||
* Saves the current game state to the database.
|
||||
*/
|
||||
public async save() {
|
||||
console.log(`Saving game state to database... Phase: ${this.phase} SubPhase: ${this.subPhase} Cash: ${this.cashLeftAfterInitialPurchases}`);
|
||||
await DatabaseService.saveGameState(this.authorId, this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue