diff options
Diffstat (limited to 'src/listeners/playerdeathlistener.h')
-rw-r--r-- | src/listeners/playerdeathlistener.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/listeners/playerdeathlistener.h b/src/listeners/playerdeathlistener.h index 3c4129e07..553898d1c 100644 --- a/src/listeners/playerdeathlistener.h +++ b/src/listeners/playerdeathlistener.h @@ -23,10 +23,9 @@ #ifndef LISTENERS_PLAYERDEATHLISTENER_H #define LISTENERS_PLAYERDEATHLISTENER_H -#include "game.h" - #include "being/localplayer.h" +#include "gui/dialogsmanager.h" #include "gui/viewport.h" #include "gui/windows/okdialog.h" @@ -50,7 +49,7 @@ struct PlayerDeathListener final : public ActionListener Net::getPlayerHandler()->respawn(); deathNotice = nullptr; - Game::closeDialogs(); + DialogsManager::closeDialogs(); if (viewport) viewport->closePopupMenu(); |