SANDWICH, MASS. >> Authorities say a man who was outside playing "Pokemon Go" helped save a burning Massachusetts building from severe damage.

Sandwich Deputy Fire Chief John Burke says the man lived nearby and was in the parking lot playing the cellphone game when he smelled smoke, heard a popping sound and called 911.

The overnight fire on Monday at a nail salon in the building was extinguished within 20 minutes of the fire department's arrival. Burke says the player's quick notification helped save the rest of the building.

He says two firefighters suffered minor injuries. One was hospitalized for treatment. One person was displaced from an apartment after firefighters had to cut power.

The cause of the fire is under investigation.