use proper function for disconnect
This commit is contained in:
parent
94d7e0776a
commit
5bd6b13e23
@ -166,7 +166,7 @@ void abandon()
|
||||
logging::Info("Not connected to a Match server. Cutting Netchannel instead.");
|
||||
auto nc = (INetChannel *) g_IEngine->GetNetChannelInfo();
|
||||
if (nc)
|
||||
hack::command_stack().push("disconnect");
|
||||
hack::ExecuteCommand("disconnect");
|
||||
else
|
||||
logging::Info("No Netchannel found, something is wrong.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user