aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.lua b/main.lua
index 7c479db..616874f 100644
--- a/main.lua
+++ b/main.lua
@@ -70,6 +70,11 @@ function love.mousepressed(x, y, button)
if button == 1 then
sys.mouse.p.p = true
end
+ if v1.msgs[v1.c.chat.msgs] ~= nil then
+ 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
end
function love.keyreleased(key)
if key == "f11" then
@@ -86,11 +91,6 @@ function love.mousereleased(x, y, button)
for i=1,6 do
icon[i].cl = false
end
- if v1.msgs[v1.c.chat.msgs] ~= nil then
- 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
file.p = false
end
function love.draw()