INNER CODE UNIT · C++
lua_state
trillek-team/tec · client/game.cpp:55
auto& lua_state = this->lua_sys.GetGlobalState();
lua_state["placement_manipulator"] = &this->placement;
}
}
Game::~Game() {
this->config_script.reset();
this->ss.Stop();
this->sound_thread.join();
this->server_connection.Disconnect();
this->server_connection.Stop();
if (this->asio_thread) {
this->asio_thread->join();
delete this->asio_thread;
}
}