fix fog always updating and interpolating

small `-` missing :)
This commit is contained in:
Moritz Zwerger 2024-03-01 16:01:13 +01:00
parent 5ecca7c87e
commit 901c158b80
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -103,7 +103,7 @@ class FogManager(
}
state.color = color
if (progress >= 1.0f) {
interpolation.change = 1L // this avoid further interpolations with the same data
interpolation.change = -1L // this avoid further interpolations with the same data
interpolation.color = options?.color
}