Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking to purchase a tile works inconsistently #392

Open
ubereffect opened this issue Mar 27, 2019 · 5 comments
Open

Clicking to purchase a tile works inconsistently #392

ubereffect opened this issue Mar 27, 2019 · 5 comments
Labels

Comments

@ubereffect
Copy link

When I click a city and bring up the city view, I see the purchasable tiles, but actually purchasing them can be a bit of a challenge at times. It seems to take 2 clicks on average, sometimes 3-5 clicks, sometimes 1.

  • OS: Windows 10
  • Version: 1.0.0.290
  • Expansions: All expansions and DLC, including Rise & Fall, and Gathering Storm
  • Other mods: None

I seem to recall this issue being present in CQUI before Gathering Storm, I just shrugged it off as my misclicking. Vanilla is buttery smooth in comparison.

Related to #216?

@Azurency Azurency added the bug label May 2, 2019
@Azurency
Copy link
Owner

Azurency commented May 2, 2019

Yes, it's related, also related to the rewrite in 6ea61cf#diff-3cebae74c7703440c01145d16ef5ea6cR102 of plotinfo_CQUI.lua using LuaEvents.CQUI_StartDragMap()

@Azurency
Copy link
Owner

Should be fixed now in the latest version

@ubereffect
Copy link
Author

Tested it with new Steam Version which includes the fix.

Clicking to purchase tiles worked about 80-90% of the time in my new test. Purchased a 100 or so tiles. While CQUI was the only mod I used during the test, I used an old saved game file which had a lot of mods associated with it. No issue with fresh game perhaps? Haven't tried that yet.

Even if a fresh game were to give same result. It's A LOT better.

@Azurency
Copy link
Owner

80-90% 👀. Are you sure the 20-10% times it's not working that you're not dragging the map a little ? It should buy the plot when you click on the button unless you're dragging to avoid unwanted purchase.

@ubereffect
Copy link
Author

Just finished testing it again. Bound mouse click to keyboard this time. If I take my hand of the mouse, before clicking with my keyboard, issue's gone. As for clicking with mouse, I was buying up tiles quickly in previous test. If I'm a little more careful while mouse clicking, it may happen 5% of the time?

Seems very sensitive to mouse drag, which I understand is to prevent accidental tile purchases. Having said that, I'd consider this resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants