RageLeague Posted November 13, 2021 Share Posted November 13, 2021 In one of the recent updates (I am not sure which one), this change happened: I am not sure what the point of checking for true or false at the beginning, but this broke the formatter and caused | to not work when separating the entries. For example, considering the following loc entry in rook_story_bogger_raid.lua OPT_TAKE_BAD_ROBOTS = "Take the single {rise?cobbledog|autodog}", With this change, the text will display "Take the single cobbledog|autodog" when you are working with the rise, and it will display "Take the single " when you are not, which is clearly not intended. Is this an intentional change? Because I will have to update a lot of the existing dialog for my mods if this change is here to stay, as I used a lot of these for my convo formatting. Link to comment Share on other sites More sharing options...
Developer rooks Posted November 15, 2021 Developer Share Posted November 15, 2021 Thanks for reporting this. This was meant to fix a rare bug with nested formatters, but clearly didn't take into account all the cases. I'll have that commit reverted and a more appropriate fix installed for the testing branch. Link to comment Share on other sites More sharing options...
RageLeague Posted November 16, 2021 Author Share Posted November 16, 2021 4 hours ago, rooks said: Thanks for reporting this. This was meant to fix a rare bug with nested formatters, but clearly didn't take into account all the cases. I'll have that commit reverted and a more appropriate fix installed for the testing branch. Out of curiosity, what is this "nested formatter" issue you are talking about? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.