The teenagers were playing the game "Call of Duty" Saturday night when one of the boy's characters was killed after being shot several times and was left laying on the floor, screaming "help, help, help," Swedish news agency TT reported.
Passersby heard the game and thought it was real and called police.
A 10-person police unit was dispatched to the apartment and carried out a raid there, forcing the boys outside.
After the teenagers were out of the apartment, they were able to explain to the police that they were just playing a game.
Police left the apartment without taking anyone into custody or writing any citations.