From 1e55cc4060d151807f9acbac89ab8b158bb1c120 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Sun, 21 Aug 2016 18:26:43 -0700 Subject: Start menu closes when clicked out of in virus 2 fight --- virus2.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virus2.lua b/virus2.lua index 56e7db6..5b0595e 100644 --- a/virus2.lua +++ b/virus2.lua @@ -26,6 +26,9 @@ function drawVirusFight2() if start.o == true then drawMenu() end + if start.o == true and sys.mouse.p.p == true and sys.mouse.p.x > 255 or sys.mouse.p.y < sys.h-380 then + start.o = false + end drawStart() if v2.c.chat.msgs == 1 or v2.c.chat.msgs == 6 then v2.c.xd = sys.w/2 -- cgit