Skip to content

Fix rando objects not randomizing#6150

Merged
serprex merged 1 commit intoHarbourMasters:developfrom
serprex:fix-rando
Jan 17, 2026
Merged

Fix rando objects not randomizing#6150
serprex merged 1 commit intoHarbourMasters:developfrom
serprex:fix-rando

Conversation

@serprex
Copy link
Contributor

@serprex serprex commented Jan 17, 2026

Recent change in init ordering had param hashmap built before static locations setup by hooks

Rest of PR is cleanup

Build Artifacts

@serprex serprex requested review from Malkierian and aMannus January 17, 2026 16:27
@serprex serprex force-pushed the fix-rando branch 3 times, most recently from 13f2098 to 517bd1c Compare January 17, 2026 16:41
@serprex
Copy link
Contributor Author

serprex commented Jan 17, 2026

Legend on Discord confirmed this fixes issue

@Malkierian
Copy link
Contributor

My first question is, why all the changes from using .Is and .IsNot? It seems like that would have nothing to do with the initialization order.

@serprex
Copy link
Contributor Author

serprex commented Jan 17, 2026

that was done to address warnings about duplicate macros

@serprex
Copy link
Contributor Author

serprex commented Jan 17, 2026

& latest commit was accidentally done on this branch. Going to split out the rando fix from the cleanup

@Malkierian
Copy link
Contributor

I think I'd prefer to have a separate macro in the header that is named differently for the ones that weren't using the .Get() version. I would have wanted to convert all the ones using the .Get version to append .Get where needed, but that one is used far too often for that change to be desirable.

@serprex
Copy link
Contributor Author

serprex commented Jan 17, 2026

cleanup moved to #6152

Recent changes in init ordering had param hashmap built before static locations setup by hooks
@serprex serprex merged commit 9ab58a8 into HarbourMasters:develop Jan 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants