Thank you for cleaning up some of my old code. (I wasn't even aware of the SWITCH function at the time I wrote this code. :/ )
I'm in the middle of a total overhaul of how AGX functions, the VesselModule makes things so much simpler but requires pretty much a total rewrite. The rewrite will also allow me to update how I do things, in a lot of places I ended up using the first google result, not something actually suited to the issue at hand.
Looking over the code everything looks good, but my local codebase isn't at a point where I can merge to test right now, will revisit this once it is.
Thank you for cleaning up some of my old code. (I wasn't even aware of the SWITCH function at the time I wrote this code. :/ )
I'm in the middle of a total overhaul of how AGX functions, the VesselModule makes things so much simpler but requires pretty much a total rewrite. The rewrite will also allow me to update how I do things, in a lot of places I ended up using the first google result, not something actually suited to the issue at hand.
Looking over the code everything looks good, but my local codebase isn't at a point where I can merge to test right now, will revisit this once it is.