Project RBH DevLog 0157 (Patreon)
Content
As I thought, the main reason I was having bugs with rerolling options is that, because the reroll button isn’t what initially created the different upgrade options in the first place, a lot of the variable references got orphaned. There’s two main ways to fix this: go through every single variable references and make sure they correctly call the original spawner to make sure the references go through… or just make spawning the buttons into a function and have the reroll button tell the spawner to do that. As you might’ve guessed, one of these is significantly easier than the other, and also less prone to error, and better practice, etc, so that’s what I did. Rerolling upgrades is now fully functional and working correctly!
-DeusVerve
DevLogs like these are brought to you by Patron(s) like Haelerin!