Changed id to start on 1

This commit is contained in:
KiritoDev 2021-05-15 21:31:23 -05:00
parent 4712f3b599
commit 8eb536cf32
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ void MoonAddonsScreen::Draw(){
char* parsed = strdup(iconPath.c_str());
if(parsed != nullptr)
MoonDrawTexture(35, 45 + (i * 35), 30, 30, parsed);
MoonDrawText(35 + 26, 46 + (i * 35), to_string(i + iMod), 0.5, {255, 255, 255, 255}, true, true);
MoonDrawText(35 + 26, 46 + (i * 35), to_string(i + iMod + 1), 0.5, {255, 255, 255, 255}, true, true);
MoonDrawText(70, 45 + (i * 35) + 3, cropTxt(addon->name, 37), 0.8, {255, 255, 255, 255}, true, true);