From 8eb536cf320af269b791b1b920b97f7ec7adc1fd Mon Sep 17 00:00:00 2001 From: KiritoDev Date: Sat, 15 May 2021 21:31:23 -0500 Subject: [PATCH] Changed id to start on 1 --- src/moon/ui/screens/addons/addons-view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moon/ui/screens/addons/addons-view.cpp b/src/moon/ui/screens/addons/addons-view.cpp index 3f4e4eaf..e45b2e6d 100644 --- a/src/moon/ui/screens/addons/addons-view.cpp +++ b/src/moon/ui/screens/addons/addons-view.cpp @@ -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);