mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-27 00:19:05 +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)