feat(client): add ClientServices::Disconnect

This commit is contained in:
Tristan Cormier authored and fallenoak committed 2025-10-14 10:46:26 -05:00
1 parent ab346f1b42
commit 88b93b89af
4 files changed
+8 -3

No files matched your search

+1 -1
View File
@@ -258,7 +258,7 @@ int32_t Script_GetServerName(lua_State* L) {
int32_t Script_DisconnectFromServer(lua_State* L) {
if (ClientServices::IsConnected()) {
CGlueMgr::m_disconnectPending = 1;
ClientServices::Connection()->Disconnect();
ClientServices::Disconnect();
}
ClientServices::LoginConnection()->Logoff();