Replace()
:CommandInterpreter
class know that it is supposed to update Program.pathManager
? You didn't show us the code for CommandInterpreter
. I hope that you aren't using the anti-pattern of using global variables.In the future, please post your code in code tags, not as screenshots. It can be difficult to read screenshots on small devices.