diff options
Diffstat (limited to 'src/progs/manaplus/actions')
-rw-r--r-- | src/progs/manaplus/actions/actions.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/progs/manaplus/actions/actions.cpp b/src/progs/manaplus/actions/actions.cpp index 6f9bf56b9..52eca62d9 100644 --- a/src/progs/manaplus/actions/actions.cpp +++ b/src/progs/manaplus/actions/actions.cpp @@ -1236,9 +1236,14 @@ impHandler0(cacheInfo) impHandler0(disconnect) { - if (gameHandler != nullptr) - gameHandler->disconnect2(); - return true; + if (!settings.options.uniqueSession) + { + if (gameHandler != nullptr) + gameHandler->disconnect2(); + return true; + } + else + return false; } impHandler(undress) |