aboutsummaryrefslogtreecommitdiff
path: root/panel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'panel.lua')
-rw-r--r--panel.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/panel.lua b/panel.lua
index 226b393..aee62bf 100644
--- a/panel.lua
+++ b/panel.lua
@@ -24,7 +24,7 @@ function drawPanelButton(id)
end
end
function drawStart()
- panel.width = love.graphics.getWidth( )
+ panel.width = love.graphics.getWidth()
panel.y = love.graphics.getHeight()
panel.y = panel.y - panel.thick
panel.s.y = panel.y + 5
@@ -58,6 +58,10 @@ function drawStart()
--sendMessage(1, msgs[msg.c])
end
end
+ if v1.c.chat.msgs > 35 and v1.yes == true then
+ love.graphics.setColor(colors.font.dark)
+ love.graphics.print("VIRUS HEALTH: " .. v1.c.health, sys.w/2, panel.s.y+7)
+ end
end
function drawNoti()
if notify.yes == true or notify.op ~= 0 then