1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-08-29 17:07:59 +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

View File

@@ -1595,7 +1595,7 @@ local specialCharSelector = function()
render() render()
while true do while true do
evt, butt, x, y = os.pullEvent() 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] then
if chars[y-sy][x] then if chars[y-sy][x] then
if (chars[y-sy][x] ~= char) then if (chars[y-sy][x] ~= char) then