diff options
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index dba8da43f..3a8aeaa4a 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -71,6 +71,7 @@ #include "render/graphics.h" #include "net/chathandler.h" +#include "net/gamehandler.h" #include "net/ipc.h" #include "net/net.h" #include "net/playerhandler.h" @@ -674,4 +675,10 @@ impHandler0(cacheInfo) return true; } +impHandler0(disconnect) +{ + Net::getGameHandler()->disconnect2(); + return true; +} + } // namespace Actions |