Fix overflow

This commit is contained in:
2026-08-28 23:03:10 +02:00
parent 730ffb777e
commit c1315e09b6
+1 -1
View File
@@ -126,7 +126,7 @@ pub fn postprocess_input(
{
input.frames_in_smash_move_deadzone = 0;
} else {
input.frames_in_smash_move_deadzone += 1;
input.frames_in_smash_move_deadzone = input.frames_in_smash_move_deadzone.saturating_add(1);
}
}