Page 1 of 1

[0.10.0] game.canplaceentity and curved-rail

Posted: Tue Jun 10, 2014 11:28 am
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).

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

Posted: Wed Jun 11, 2014 3:28 pm
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.

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

Posted: Wed Jun 11, 2014 9:39 pm
by kolli
awesome!