SERVER: Prohibit sprinting while ADS

This commit is contained in:
Steam Deck User 2023-02-15 19:54:40 -05:00
parent 199f38dc02
commit fc9d62fc9f

View file

@ -142,7 +142,7 @@ void() W_SprintStop =
void W_SprintStart () { void W_SprintStart () {
if (self.speed_penalty_time > time) if (self.speed_penalty_time > time || self.zoom != 0)
return; return;
self.sprint_start_time = time; self.sprint_start_time = time;