summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/echar/char.c3
-rw-r--r--src/elogin/parse.c1
-rw-r--r--src/emap/atcommand.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 6223ac4..b9e339e 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -329,8 +329,9 @@ void echar_parse_map_serverexit(int mapFd)
{
case 100: // all exit
case 101: // all restart
- case 104: // git pull and all restart
case 102: // restart char and map server
+ case 104: // git pull and all restart
+ case 105: // build all
echat_send_login_serverexit(code);
HSleep(1);
core->shutdown_callback();
diff --git a/src/elogin/parse.c b/src/elogin/parse.c
index c2d1d10..15b0f7a 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -223,6 +223,7 @@ void elogin_parse_serverexit(int fd)
case 100: // all exit
case 101: // all restart
case 104: // git pull and all restart
+ case 105: // build all
core->shutdown_callback();
break;
case 102: // restart char and map server
diff --git a/src/emap/atcommand.c b/src/emap/atcommand.c
index 54370af..8d6979a 100644
--- a/src/emap/atcommand.c
+++ b/src/emap/atcommand.c
@@ -147,6 +147,7 @@ ACMD1(mapExit)
// 102 - restart char and map servers
// 103 - restart map server
// 104 - git pull and restart all servers
+// 105 - build all
ACMD1(serverExit)
{
int code = 0;