Skip to content

Commit

Permalink
chore: Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixeluted committed Oct 17, 2024
1 parent 70d6fba commit c2783b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions RobloxManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ void *rbx__scriptcontext__resumeWaitingThreads(
__rbx__scriptcontext__resumeWaitingThreads__lock.lock();
auto scriptContext = *reinterpret_cast<void **>(*static_cast<std::uintptr_t *>(waitingHybridScriptsJob) + 0x1F8);

// logger->PrintInformation(RbxStu::HookedFunction,
// std::format("ScriptContext::resumeWaitingThreads. ScriptContext: {:#x}", ScriptContext));
//logger->PrintInformation(RbxStu::HookedFunction,
// std::format("ScriptContext::resumeWaitingThreads. waitingHybridsScriptsJob: {:#x}", reinterpret_cast<uintptr_t>(waitingHybridScriptsJob)));

const auto getDataModel = reinterpret_cast<RbxStu::StudioFunctionDefinitions::r_RBX_ScriptContext_getDataModel>(
robloxManager->GetRobloxFunction("RBX::ScriptContext::getDataModel"));
Expand Down Expand Up @@ -218,7 +218,6 @@ std::int32_t rbx__datamodel__getstudiogamestatetype(RBX::DataModel *dataModel) {
auto robloxManager = RobloxManager::GetSingleton();
auto original = reinterpret_cast<RbxStu::StudioFunctionDefinitions::r_RBX_DataModel_getStudioGameStateType>(
robloxManager->GetHookOriginal("RBX::DataModel::getStudioGameStateType"));

if (!robloxManager->IsInitialized())
return original(dataModel);

Expand Down

0 comments on commit c2783b3

Please sign in to comment.