mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-29 02:26:37 +00:00
Those checks were *very likely* meant to clamp the max value,
not the min one.
Fixes https://github.com/godotengine/godot/issues/10059#issuecomment-606993001.
(cherry picked from commit dbf52c63cc)