[0.10.0] game.canplaceentity and curved-rail

This subforum contains all the issues which we already resolved.
Post Reply
kolli
Inserter
Inserter
Posts: 27
Joined: Tue Jun 10, 2014 11:23 am
Contact:

[0.10.0] game.canplaceentity and curved-rail

Post by kolli »

game.canplaceentity does not return correct values for curved-rail (and possibly other non-square entities, since it doesn't seem to care about rotation).

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.10.0] game.canplaceentity and curved-rail

Post by kovarex »

Hello, thank you for the report.

The canplaceentity function was very rough indeed, it is now changed to work same as when placing entity, so it covers not only curved rail, but these additional conditions, like water for pump, rail for signal/station etc.

kolli
Inserter
Inserter
Posts: 27
Joined: Tue Jun 10, 2014 11:23 am
Contact:

Re: [0.10.0] game.canplaceentity and curved-rail

Post by kolli »

awesome!

Post Reply

Return to “Resolved Problems and Bugs”