From fb6990e22d49987ea57d4ba6304b2a614e099185 Mon Sep 17 00:00:00 2001 From: ramon-bernardo Date: Tue, 19 Nov 2024 19:40:33 -0300 Subject: [PATCH] Fix global event --- src/signals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signals.cpp b/src/signals.cpp index c8ef9cb5ac..04f7530cc3 100644 --- a/src/signals.cpp +++ b/src/signals.cpp @@ -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(); }