Console Logged brief Info on Save State

master
j 2024-04-14 20:51:40 -04:00
parent 51a9aa3ee6
commit 398465db02
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}