aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-04-14 14:14:28 -0700
committer1029chris <1029chris@gmail.com>2016-04-14 14:14:28 -0700
commit25e9da105599b81e941ebce43dbd3e2ed2f1bf85 (patch)
treec774dba6762d9cd2deb4e6ba96a85e520c10fe43 /main.lua
parent85a2c861b5f49a12a46949b46b12d68f1f4359e6 (diff)
Giving the virus dialogue
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index cdcf9da..e672a90 100644
--- a/main.lua
+++ b/main.lua
@@ -79,6 +79,9 @@ function love.mousereleased(x, y, button)
for i=1,6 do
icon[i].cl = false
end
+ if string.len(v1.msgs[v1.c.chat.msgs]) == string.len(v1.c.chat.msg) and v1.yes == true then
+ v1.c.chat.next = false
+ end
end
function love.draw()
if scene == 1 then