prime31 / Nez

Nez is a free 2D focused framework that works with MonoGame and FNA
MIT License
1.76k stars 357 forks source link

Last tile in Tiled map CSV layer is always 0 #799

Open adtennant opened 1 month ago

adtennant commented 1 month ago

The last tile in a Tiled map CSV layer will always be 0. I think this is because the reader reads until the next , before parsing the tile GID, as the last value isn't followed by a , it is never read.

stallratte commented 1 month ago

I added a fix: https://github.com/prime31/Nez/pull/800

Sorry for the inconvenience, I sadly added this bug with my last PR https://github.com/prime31/Nez/pull/797