aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-08-11 22:52:16 -0700
committer1029chris <1029chris@gmail.com>2016-08-11 22:52:16 -0700
commit91e56388125d82bfea5b6b38aec9e6fc7f3f398a (patch)
tree41b17f2ab71922175da16b6e65e53f79a61df91e /main.lua
parentfad9d9391f1880dfb0c116c520911538176321f3 (diff)
Virus 2 Dialogue plays now
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 868af10..2f541b5 100644
--- a/main.lua
+++ b/main.lua
@@ -72,6 +72,11 @@ function love.mousepressed(x, y, button)
v1.c.chat.next = false
end
end
+ if v2.msgs[v2.c.chat.msgs] ~= nil then
+ if string.len(v2.msgs[v2.c.chat.msgs]) == string.len(v2.c.chat.msg) and v2.start == true then
+ v2.c.chat.next = false
+ end
+ end
end
end
function love.keyreleased(key)