Skip to content
This repository has been archived by the owner on Dec 26, 2021. It is now read-only.

Commit

Permalink
epic fail
Browse files Browse the repository at this point in the history
  • Loading branch information
richardletshacks authored Sep 4, 2021
1 parent 3e741ed commit bcb9e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Memory/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ __int64 Hooks::RenderText(__int64 a1, C_MinecraftUIRenderContext* renderCtx) {
hasSentWarning = true;
auto box = g_Data.addInfoBox("Warning", "Your injector doesn't seem to connect to Horion correctly.\nYou can ignore this, but some features may not work as expected.");
box->closeTimer = 5;
/*vec2_t windowSize = dat->windowSize;
vec2_t windowSize = dat->windowSize;
DrawUtils::fillRectangle(vec4_t(0, 0, windowSize.x, windowSize.y), MC_Color(0.2f, 0.2f, 0.2f), 0.8f);
Expand All @@ -368,7 +368,7 @@ __int64 Hooks::RenderText(__int64 a1, C_MinecraftUIRenderContext* renderCtx) {
text = "Uninject by holding down CTRL + L";
DrawUtils::drawText(vec2_t(windowSize.x / 2 - DrawUtils::getTextWidth(&text, 0.7f) / 2, windowSize.y * 0.8f), &text, MC_Color(), 0.7f);
DrawUtils::flush();*/
DrawUtils::flush();
}
if (!hasSentWarning) // Wait for injector, it might connect in time
Expand Down

0 comments on commit bcb9e6a

Please sign in to comment.