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 3c11832..785c2f2 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -330,9 +330,10 @@ void echar_parse_map_serverexit(int mapFd)
case 100: // all exit
case 101: // all restart
case 102: // restart char and map server
- case 104: // git pull and all restart
+ case 104: // git pull and restart all restart
case 105: // build all
case 106: // rebuild all
+ case 107: // git pull and 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 7870fad..40f983f 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -225,6 +225,7 @@ void elogin_parse_serverexit(int fd)
case 104: // git pull and all restart
case 105: // build all
case 106: // rebuild all
+ case 107: // git pull and 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 61f35e1..2c7bc87 100644
--- a/src/emap/atcommand.c
+++ b/src/emap/atcommand.c
@@ -149,6 +149,7 @@ ACMD1(mapExit)
// 104 - git pull and restart all servers
// 105 - build all
// 106 - rebuild all
+// 107 - git pull and build all
ACMD1(serverExit)
{
int code = 0;