Skip to content

Fix some options not updating correctly when dropping jsons and applying Presets#5240

Merged
Archez merged 4 commits intoHarbourMasters:developfrom
leggettc18:fix/cvars/fix-drop-presets
Mar 29, 2025
Merged

Fix some options not updating correctly when dropping jsons and applying Presets#5240
Archez merged 4 commits intoHarbourMasters:developfrom
leggettc18:fix/cvars/fix-drop-presets

Conversation

@leggettc18
Copy link
Contributor

@leggettc18 leggettc18 commented Mar 28, 2025

Re-Runs ShipInit funcs when dropping a ship json or applying a preset, causing in-game behavior of options to properly update. Also adds some static bools to ensure the ShipInit funcs that register randomizer item locations only run once. It wasn't necessarily a problem that they would've been running twice, but it was unnecessary.

Build Artifacts

@Archez Archez merged commit 554379f into HarbourMasters:develop Mar 29, 2025
5 checks passed
@leggettc18 leggettc18 deleted the fix/cvars/fix-drop-presets branch March 29, 2025 14:44
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.

3 participants