value = game.min ? Math.max(value, game.min) : value;
That conditional is false when game.min is 0 which results in it simply returning value instead of performing the Math.max operation.
Currently this only affects EA WRC (easily observable by increasing the distance to the screen all the way to the right and watching the EA WRC value go negative).
value = game.min ? Math.max(value, game.min) : value;
That conditional is false whengame.min
is0
which results in it simply returningvalue
instead of performing theMath.max
operation. Currently this only affects EA WRC (easily observable by increasing the distance to the screen all the way to the right and watching the EA WRC value go negative).