diff --git a/src/Server/MainServer.cpp b/src/Server/MainServer.cpp index f6445f8..bfe5e82 100644 --- a/src/Server/MainServer.cpp +++ b/src/Server/MainServer.cpp @@ -199,9 +199,8 @@ MainServer::MainServer(World& initWorld, const std::string& serverLocalID): DrawComponent::server_send_transform_many(*this, transformsToSend); }); netServer->add_recv_callback(SERVER_UPDATE_COMPONENT, [&](std::shared_ptr client, cereal::PortableBinaryInputArchive& message) { - bool isTemp; ServerClientID idToUpdate; - message(isTemp, idToUpdate); + message(idToUpdate); auto it = data.idToComponentMap.find(idToUpdate); if(it != data.idToComponentMap.end()) { std::shared_ptr& comp = it->second;