mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Set flashlight time on restore.
This commit is contained in:
parent
325c61f487
commit
b2161d18d0
@ -3012,6 +3012,9 @@ int CBasePlayer::Restore( CRestore &restore )
|
||||
// Barring that, we clear it out here instead of using the incorrect restored time value.
|
||||
m_flNextAttack = UTIL_WeaponTimeBase();
|
||||
#endif
|
||||
if( m_flFlashLightTime == 0.0f )
|
||||
m_flFlashLightTime = 1.0f;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user