function of temperature decrease changed

Signed-off-by: Alexandra Shostik <shostix@mail.ru>