Char menu stuff

master
gnomerd 5 years ago
parent 13027fc5e4
commit 09692b8a8e
  1. 2
      gamemode/engine/derma/menus/menu_character.lua

@ -36,7 +36,7 @@ end
local function getNextIndex( index, isNext, min, max ) local function getNextIndex( index, isNext, min, max )
if( isNext ) then if( isNext ) then
if( index + 1 > max ) then if( index + 1 > max ) then
return min -- integer overflow LUL return min -- integer overflow
else else
return index + 1 return index + 1
end end

Loading…
Cancel
Save