fix obscure habit puzzle crash
This commit is contained in:
@@ -205,7 +205,7 @@
|
|||||||
(set s.mouseStartDragCallback
|
(set s.mouseStartDragCallback
|
||||||
->:Void [s x y]
|
->:Void [s x y]
|
||||||
(let [t (topClickedPiece)]
|
(let [t (topClickedPiece)]
|
||||||
(if !(= s t)
|
(if (and t !(= s t))
|
||||||
{
|
{
|
||||||
(s.stopDrag)
|
(s.stopDrag)
|
||||||
(set FlxMouseControl.dragTarget t)
|
(set FlxMouseControl.dragTarget t)
|
||||||
|
Reference in New Issue
Block a user