diff --git a/gamemodes/benny/gamemode/modules/player/sh_player.lua b/gamemodes/benny/gamemode/modules/player/sh_player.lua index 87acaae..52e5f95 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_player.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_player.lua @@ -115,8 +115,8 @@ function PT:INV_Weight() end -- PROTO: HOLY SHIT THIS SUCKS, MAKES A FUNCTION AND MIGHT RUN EVERY FRAME!!! table.sort( results, function( a, b ) - return (T_WEIGHT[b[2]["Type"]] + b[1]["Acquisition"]*(1e-5)) - < (T_WEIGHT[a[2]["Type"]] + a[1]["Acquisition"]*(1e-5)) + return (T_WEIGHT[b[2]["Type"]] - b[1]["Acquisition"]*(1e-5)) + < (T_WEIGHT[a[2]["Type"]] - a[1]["Acquisition"]*(1e-5)) end ) local finale = {} for i, v in ipairs( results ) do