DinnerBuffet / TTSCarcassonne

Script and data for the Tabletop Simulator mod
MIT License
46 stars 23 forks source link

Tiles moving top away from border confuses scripts #5

Closed sebastianbergt closed 4 years ago

sebastianbergt commented 4 years ago

Thank you for this amazing mod! I ran into an error today.

After placing a tile next to the upper border of the playing table (see screenshot attached). The mod is confused and throws lua errors. Placing tiles is no longer works. Playing with two players. Screenshot from 2020-04-07 21-53-02

DinnerBuffet commented 4 years ago

Thanks for the bug report! I'll try to reproduce this and fix it soon.

DinnerBuffet commented 4 years ago

I was able to reproduce the problem and I think I've narrowed down the cause. Looks like you found a bug that's been there for a very long time and was made more prevalent by a slightly more recent refactor that I did. I would avoid putting tiles at the edges until I can come up with a fix, which should hopefully be in the next few days.

DinnerBuffet commented 4 years ago

I have a fix ready. Will release it with 1.22.2.

DinnerBuffet commented 4 years ago

Uploaded new version.