SimControl had some inconsistencies because it used both the local variable (passed by param) and the global variable. This PR changes it to consistently use the global variable, which should make it work better inside simulated unit tests.
This may have unintended consequences on unit tests.
SimControl had some inconsistencies because it used both the local variable (passed by param) and the global variable. This PR changes it to consistently use the global variable, which should make it work better inside simulated unit tests.
This may have unintended consequences on unit tests.