[Bug Fix] Fixes EVENT_DISCONNECT for /quit and /exit. (#1542)

/quit and /exit will now properly parse to EVENT_DISCONNECT so operators can do things on disconnect to these players, previously it only functioned for /camp.
This commit is contained in:
Kinglykrab authored and GitHub committed 2021-09-19 15:16:38 -05:00
1 parent 46edd56acc
commit f715ccd368
1 file changed
+2
+2
View File
@@ -183,6 +183,8 @@ bool Client::Process() {
SetDynamicZoneMemberStatus(DynamicZoneMemberStatus::Offline);
parse->EventPlayer(EVENT_DISCONNECT, this, "", 0);
return false; //delete client
}