mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
another nice fix
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "Client.h"
|
||||
#include "TLuaEngine.h"
|
||||
|
||||
static std::string LuaToString(const sol::object& Value, size_t Indent = 1) {
|
||||
static std::string LuaToString(sol::object Value, size_t Indent = 1) {
|
||||
switch (Value.get_type()) {
|
||||
case sol::type::userdata: {
|
||||
std::stringstream ss;
|
||||
|
||||
@@ -162,7 +162,7 @@ void TNetwork::TCPServerMain() {
|
||||
|
||||
CloseSocketProper(client.Socket);
|
||||
#ifdef WIN32
|
||||
CloseSocketProper(client);
|
||||
CloseSocketProper(client.Socket);
|
||||
WSACleanup();
|
||||
#endif // WIN32
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user