Double clicking on a turf in the map is somehow making the map be Click()ed as well as the turf.
Numbered Steps to Reproduce Problem:
1.Make an empty map (filled with /turf naturally)
2.Enter below code snippet
3.Compile and run
4.Click on a /turf in the map in quick-succession
Code Snippet (if applicable) to Reproduce Problem:
turf/Click(location)
world << location
Expected Results:
For the map control to be returned each time
Actual Results:
If it's a double click, the following will be returned:
turf
map
Does the problem occur:
Every time? Or how often? Every time
In other games? N/A
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Never, seemingly.
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.)
I tested in 462 and 464. Both worked the same way.
Workarounds:
Don't rely on it?
It is somewhat strange that it returns differently on a double click. Its also strange that Click is running on top of DblClick.
Technically I think this should be returning the map every time.