Commit 4b0f5ed7 authored by echicken's avatar echicken
Browse files

Only do mouse things if left click (button 0, press true)

parent da017e62
......@@ -970,7 +970,7 @@ var Level = function (l, n) {
if (userInput.mouse !== null) {
// If it wasn't a left-click
if (userInput.mouse.button != 0) return ret;
if (userInput.mouse.button != 0 && !userInput.mouse.press) return ret;
// If they clicked inside the statusbar region ...
if (userInput.mouse.y >= frames.statusBar.y && userInput.mouse.y <= frames.statusBar.y + 1) {
if (userInput.mouse.x < frames.labels[KEY_BOMB].x) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment