Skip to content

Commit

Permalink
Fix global event
Browse files Browse the repository at this point in the history
  • Loading branch information
ramon-bernardo committed Nov 19, 2024
1 parent f1a1162 commit fb6990e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void sigusr1Handler()
{
// Dispatcher thread
std::cout << "SIGUSR1 received, saving the game state..." << std::endl;
g_globalEvents->save();
g_globalEvents->onSave();
g_game.saveGameState();
}

Expand Down

0 comments on commit fb6990e

Please sign in to comment.