Left 4 Dead 2

Left 4 Dead 2

Damaging Chainsaw Shoves
2개 중 1~2개 표시 중
업데이트: 2025년 10월 3일 오후 8시 19분
작성자: Henrietta

Added a condition statement to check if the remaining ammo is less than 1 second, and if so set ammo to 0 instead of possibly a negative value which can cause underflow.
I wasn't able to replicate the underflow myself, but I might as well be thorough.

I also realized that the ammo will decrease by 1 even if I tell the script to lower it by 0.5, so I edited the script to say 1 since it'd be misleading to claim that it decreases by 0.5

업데이트: 2025년 9월 22일 오후 1시 37분
작성자: Henrietta