Fix for being unable to defuse the C4 with the new input-button swap.

This commit is contained in:
Marco Cawthorne 2018-12-07 14:14:30 +01:00
parent f5bb0748ff
commit 1e1d02411b

View file

@ -110,7 +110,7 @@ static void WeaponC4BOMB_Use( void ) {
static void WeaponC4BOMB_Think( void ) {
// If the guy who started using us stopped using us, reset the defuser counter
if ( ( self.eUser != world ) && ( self.eUser.button3 == FALSE ) ) {
if ( ( self.eUser != world ) && ( self.eUser.button5 == FALSE ) ) {
self.eUser.fProgressBar = 0;
self.eUser = world;
fDefuseProgress = 0;