Page 1 of 1

No love for Z's

Posted: Sat Aug 08, 2020 8:54 pm
by smithfield
In the Load Menu.
The sort order of the character names is based upon most recent load.
Unless that characters name starts w/ 'Z'.
In that case, the character whose name starts w/ 'Z' is last in the list.

I know, this is not a deal breaker, or anything. I hesitated to even post it, but bugs are bugs and who knows what they might be hiding.

Re: No love for Z's

Posted: Mon Aug 10, 2020 2:16 am
by Zizzo
smithfield wrote:In the Load Menu.
The sort order of the character names is based upon most recent load.
Unless that characters name starts w/ 'Z'.
In that case, the character whose name starts w/ 'Z' is last in the list.
Yeah, this is a boot module bug, one that I've run into before. In my experience it isn't particular to characters whose names start with Z (not least because I don't have any such characters), but there's often one character that should be near the top but gets stuck at the bottom. The error, I think, is here, in LoadGame:generateList():

Code: Select all

table.sort(nodes, function(a, b) return (a.timestamp or 0) > (b.timestamp or 0) end)
table.insert(nodes, save)
Sorting the list of savefiles and then unilaterally appending a savefile to the end of the list seems wrong somehow. :wink: I've got a boot module addon worked up to fix it, that I was planning on releasing with the 1.7 release, but now that you've mentioned the bug here, it might get fixed before I can release it.

Re: No love for Z's

Posted: Mon Aug 10, 2020 6:38 pm
by darkgod
ahahha ! fixed :)

Re: No love for Z's

Posted: Mon Aug 10, 2020 7:26 pm
by smithfield
Funny that Zizzo doesn't have any characters whose name starts w/ 'Z'.