aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
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)