Because
the door handle was still hot from the furnace test, so it was a trap room
He slowly removed his hand before triggering the trap
He went to the next door (now a 1 in 3 chance), opened it, did not smell acid or see bullets on the floor, so he went in. Had he smelled acid or seen bullets, he would not have gone in (and not have gotten the treasure).