fix crouch release on death
This commit is contained in:
@@ -884,7 +884,7 @@ void updatecrouch(playerent *p, bool on)
|
||||
|
||||
void crouch(bool on)
|
||||
{
|
||||
if(player1->isspectating()) return;
|
||||
if(player1->isspectating() && on) return;
|
||||
player1->trycrouch = on;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user