Commit 2656646
authored
Fix incorrect rendering with tilemaps with csv data on windows (#20483)
Each tilemap row would be shifted to the right a certain number of
tiles.
This is caused by the carriage return in windows being '\r\n' and
the way each csv line is parsed.
The '\r' at the beginning of each line would be parsed as a tile id.
On windows we must remove all 'r' from the csv string.1 parent 63d3408 commit 2656646
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
729 | 735 | | |
730 | 736 | | |
731 | 737 | | |
| |||
0 commit comments