[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 2021-09-19 16:16:38 -04:00 committed by GitHub
parent 46edd56acc
commit f715ccd368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,8 @@ bool Client::Process() {
SetDynamicZoneMemberStatus(DynamicZoneMemberStatus::Offline); SetDynamicZoneMemberStatus(DynamicZoneMemberStatus::Offline);
parse->EventPlayer(EVENT_DISCONNECT, this, "", 0);
return false; //delete client return false; //delete client
} }