mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-06-13 22:32:07 +03:00
Fix c4 defuse glitch (#383)
* [WIP] Fix c4 defuse glitch While you are defusing you can unpress E and a friend can continue to defuse for you
This commit is contained in:
parent
2defb8ad8e
commit
411a02843e
@ -1151,8 +1151,13 @@ void CGrenade::Use(CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useTy
|
||||
#endif
|
||||
|
||||
if (m_bStartDefuse)
|
||||
{
|
||||
#ifdef REGAMEDLL_FIXES
|
||||
if (m_pBombDefuser == pPlayer)
|
||||
#endif
|
||||
{
|
||||
m_fNextDefuse = gpGlobals->time + NEXT_DEFUSE_TIME;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user