RasterPropMonitor icon indicating copy to clipboard operation
RasterPropMonitor copied to clipboard

We shouldn't update variables that don't have changed callbacks and aren't being used

Open JonnyOThan opened this issue 1 year ago • 0 comments

Under the current architecture, every variable that has been instantiated gets updated every frame. But sometimes these variables don't need to be kept up to date - like if you turn on the map screen and then turn it off again, those variables will stick around.

Probably need a system that keeps track of the last time that each variable was evaluated.

JonnyOThan avatar Jan 10 '23 00:01 JonnyOThan