diff --git a/src/vehicle_part.cpp b/src/vehicle_part.cpp index ba14b1db9f965..a5dca53838a6b 100644 --- a/src/vehicle_part.cpp +++ b/src/vehicle_part.cpp @@ -388,6 +388,11 @@ void vehicle_part::process_contents( const tripoint &pos, const bool e_heater ) if( e_heater ) { flag = temperature_flag::HEATER; } + if( enabled && info().has_flag( VPFLAG_FRIDGE ) ) { + flag = temperature_flag::FRIDGE; + } else if( enabled && info().has_flag( VPFLAG_FREEZER ) ) { + flag = temperature_flag::FREEZER; + } base.process( nullptr, pos, 1, flag ); } }