Right clicks are being sent to mouse procs even though the map option "Send right-clicks to mouse procs" is not checked.
Numbered Steps to Reproduce Problem:
Setup:
Add the following code to main.dm, add a grass turf, add a map. Run the world, and...
Repro:
1. Left click and hold on a grass turf
2. Right click and release right mouse button (so both buttons are pressed for a moment)
Repeat step 2 a couple times for effect
Code Snippet (if applicable) to Reproduce Problem:
client.Click(o, l, c, p)
{
var/list/listOfParams = params2list(p);
if(listOfParams["right"])
{
world << "right"
}
else
{
world << "left"
}
..();
}
Expected Results:
Shouldn't be able to right click.
Actual Results:
Users can right click
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Not sure.
Workarounds:
Manually catch and ignore these types and hopefully our design works out.