From 09692b8a8e2086f8e6064fb218f44663f2c86d95 Mon Sep 17 00:00:00 2001 From: gnomerd Date: Thu, 21 Nov 2019 11:57:15 +0100 Subject: [PATCH] Char menu stuff --- gamemode/engine/derma/menus/menu_character.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gamemode/engine/derma/menus/menu_character.lua b/gamemode/engine/derma/menus/menu_character.lua index 53a96d2..7b2be6c 100644 --- a/gamemode/engine/derma/menus/menu_character.lua +++ b/gamemode/engine/derma/menus/menu_character.lua @@ -36,7 +36,7 @@ end local function getNextIndex( index, isNext, min, max ) if( isNext ) then if( index + 1 > max ) then - return min -- integer overflow LUL + return min -- integer overflow else return index + 1 end