mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-23 12:33:13 +00:00
Fix a broken early return from a1ddf6114a
Reported By: Imarok This was SVN commit r22113.
This commit is contained in:
@@ -1177,7 +1177,7 @@ function positionUnitsFreehandSelectionMouseUp(ev)
|
||||
inputState = INPUT_NORMAL;
|
||||
let inputLine = g_FreehandSelection_InputLine;
|
||||
g_FreehandSelection_InputLine = [];
|
||||
if (!ev.button == SDL_BUTTON_RIGHT)
|
||||
if (ev.button != SDL_BUTTON_RIGHT)
|
||||
return true;
|
||||
|
||||
let lengthOfLine = 0;
|
||||
|
||||
Reference in New Issue
Block a user