summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index 629a0d63..3e5a4b09 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -249,6 +249,12 @@ void CharSelectDialog::serverCharSelect()
}
RFIFOSKIP(3);
}
+ else if (RFIFOW(0) == 0x0081) {
+ new OkDialog(this, "Error",
+ "Map server is down, please try again later");
+ close_session();
+ state = LOGIN;
+ }
// Todo: add other packets
}