JohnnyGuitarNVSE
JohnnyGuitarNVSE copied to clipboard
Change rounding behaviour in HandleAVChangeEvent
The HandleAVChangeEvent code uses rounding currently. I've noticed, this means that the actual events fire at half-steps, when the Actor Value crosses the rounding threshold.
I would propose using the floor function instead, so that the event fires on integer steps rather than half-steps.
The behaviour would change as follows:
Current Method: Previous: [13.45] - New [13.55] <--- Event Fires Here
Proposed Change: Previous: [13.95] - New [14.05] <--- Event Fires Here