UnlimitedHugs / RimworldHugsLib

A lightweight shared library for Rimworld modding.
Other
245 stars 59 forks source link

News file requires ascending order of update defs. #60

Closed CodeOptimist closed 4 years ago

CodeOptimist commented 4 years ago

(First - deeply appreciate HugsLib, thanks so much!)

Not sure if this is a HugsLib or Ludeon change from 1.1, but it's now mandatory to have the earliest update defs at the top of the news file and the latest at the bottom.

If it's the reverse, LastSeenNews.xml only increments one update at a time and the full news - minus one entry each time - is displayed over and over again.

This is a departure from how it worked in 1.0 where it didn't seem to matter, so it may break some mods. Not sure if this is intentional or an unintentional bug.

(Maybe I'm the only crazy one who liked adding new updates to the top of the file? Not a big deal since I generate the xml from Python.)

UnlimitedHugs commented 4 years ago

I appreciate the report- definitely not intended behavior. I have more stuff in the pipeline, so I'll look at it the next time I'm updating.

UnlimitedHugs commented 4 years ago

Fixed in 7.1.1.