fix crouch release on death

This commit is contained in:
ac-stef
2017-06-09 20:42:26 +02:00
parent a6bd160a76
commit fcb3481e23
+1 -1
View File
@@ -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;
}