1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-12-04 23:39:58 +00:00

Update pain.lua

This commit is contained in:
LDDestroier 2018-10-21 16:55:04 -04:00 committed by GitHub
parent d1d9b65556
commit 7719fec8b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1595,7 +1595,7 @@ local specialCharSelector = function()
render()
while true do
evt, butt, x, y = os.pullEvent()
if evt == "mouse_click" then
if evt == "mouse_click" or evt == "mouse_drag" then
if chars[y-sy] then
if chars[y-sy][x] then
if (chars[y-sy][x] ~= char) then