Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cata_tiles: fix variant vehicle parts to work with ASCIITiles
Fixes CleverRaven#44711 In the conversion of vehicle parts to variants, the fallback code for ASCIITiles was still using the raw vehicle part id, not the split vehicle part id with variant. This caused all variant vehicle parts to be unidentified in ASCIITILES. Fix the issue by breaking up the vehicle part into its variant string, and if a variant part is present, getting the symbol from the symbols array.
- Loading branch information