Wait did i not make sure that there is 2 ticks that happen in order, so as to prevent any issues with tick order? Because there clearly is such a thing right there in the code very obviously.
And I dont exactly know what you broke, so I will look at it once you fix it.