Terasology / Rails

Base rail module for minecarts and such
10 stars 17 forks source link

Check the cart being left is the same one as entered. #42

Closed 4Denthusiast closed 6 years ago

4Denthusiast commented 6 years ago

If you enter one cart then try to leave a different one while still sitting in the first, this led to odd behaviour. Similar things happened if the player died while in a cart. This PR adds checks to exclude this case.

pollend commented 6 years ago

looks good to me