[0.10.0] game.canplaceentity and curved-rail
[0.10.0] game.canplaceentity and curved-rail
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).
Re: [0.10.0] game.canplaceentity and curved-rail
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.
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.