gabriel-dehan / dyson-sphere-blueprints

A community website to share dyson sphere program blueprints
47 stars 11 forks source link

Fix new versions not being handled correctly #65

Closed mattr- closed 7 months ago

mattr- commented 7 months ago

The DSP team has started putting a V before the numbers in their release notes which breaks the base game manager's parsing of the patch notes for new versions. This commit extends the regexp to handle the presence (or lack thereof) of the V in the patch notes, as they've also been very inconsistent.

I pulled the last 100 or so news items from Steam, and stuck the titles into Rubular to make sure the addition doesn't break anything.

Screenshot 2024-02-11 at 7 28 51 PM

gabriel-dehan commented 7 months ago

Thanks a lot for your PRs, especially this one! I had noticed the game version not updating on the website but had not got around to fixing it, figured it was something with the format of the title changing :D