Skip to content

Commit

Permalink
Update cl_bars.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilwin committed Dec 29, 2020
1 parent 1a75f31 commit e141def
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drift-needings/cl_bars.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

local function EnableBars()
ix.bar.Remove( "thirst" )
ix.bar.Remove( "hunger" )

ix.bar.Add( function()
return math.max( LocalPlayer():GetCharacter():GetThirst() / 100, 0 )
end, Color( 68, 106, 205 ), nil, "thirst" )

0 comments on commit e141def

Please # to comment.