43 if( !player.m_Environment.IsTemperatureSet() )
45 float air_temperature = player.m_Environment.GetTemperature();
47 if( MiscGameplayFunctions.IsValueInRange( air_temperature,
PlayerConstants.BREATH_VAPOUR_THRESHOLD_HIGH,
PlayerConstants.BREATH_VAPOUR_THRESHOLD_LOW) )
50 value =
Math.Clamp(value,0,1);
57 if( level != player.m_BreathVapour )
59 player.m_BreathVapour = level;
60 player.SetSynchDirty();