Skip to content

Commit

Permalink
Update game.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
luanluciano93 authored Mar 28, 2024
1 parent fdfdb9b commit 9f21018
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ void Game::setGameState(GameState_t newState) {
}

case GAME_STATE_SHUTDOWN: {
logger.info("Total save: {}", g_game().getImproveSave(1));

Check failure on line 422 in src/game/game.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-20.04-linux-debug

‘logger’ was not declared in this scope; did you mean ‘Logger’?

Check failure on line 422 in src/game/game.cpp

View workflow job for this annotation

GitHub Actions / ubuntu-22.04-linux-debug

‘logger’ was not declared in this scope; did you mean ‘Logger’?
logger.info("Improve Save Stash: {}", g_game().getImproveSave(2));
logger.info("Improve Save Spells: {}", g_game().getImproveSave(3));
logger.info("Improve Save Kills: {}", g_game().getImproveSave(4));
g_globalEvents().execute(GLOBALEVENT_SHUTDOWN);

// kick all players that are still online
Expand Down

0 comments on commit 9f21018

Please sign in to comment.