pyanodon / pybugreports

Central bug-report repository for pymods
The Unlicense
6 stars 1 forks source link

Opening the World Map disables caravan destination picking #687

Closed AFranticTypist closed 5 days ago

AFranticTypist commented 1 week ago

Mod source

Factorio Mod Portal

Operating system

=Windows 10

What kind of issue is this?

What is the problem?

In 1.1, you used to be able to click a Caravan, hit 'Add Destination', then open up the map ('M') and click on a building as the destination.

In 2.0, opening the map disables the ability to pick buildings. You can click anywhere on the map and it will not select the destination for the caravan.

The effect persists even after you have escaped out of the map screen. If you click 'Add Destination', open the map, then close the map, clicking on any building with the carrot-and-stick cursor will just select it like a normal click would.

If you don't open the map you can pick buildings as per normal, but you have to be standing in front of them.

Steps to reproduce

(1) Throw down a Caravan, click it

(2) Click 'Add Destination'

(3) Open the map with 'm', or click on the minimap.

(4) click on any building -- no effect

(5) exit the map by hitting esc

(6) click on any building -- you select it despite having the carrot-and-stick cursor

Additional context

No response

Log file

No response

AFranticTypist commented 1 week ago

Additional info: opening the map with the 'M' puts a little ghost icon under the carrot-and-stick cursor which never goes away. Perhaps the carrot-and-stick needs to be immune to this, since it doesn't have ghost behavior? Or ghosted scripts need to be the same as normal?