Lethbridge police have charged two men who were playing their own version of Call of Duty on a university campus in the southern Alberta city.

Police got a call late Tuesday night about two men walking around the University of Lethbridge campus with handguns.

"With the assistance of U of L security utilizing surveillance cameras, the subjects were quickly taken into custody and each was found to have a .177 pellet handgun," said police in a release. 

"Both subjects admitted to playing their own real life version of the video game."

Call of Duty allows players to take on the role of machine-gun-toting soldiers in a quest to obliterate each other in online virtual environments.

The men — aged 21 and 25 — have been charged with possession of a weapon dangerous to the public.

They are expected to appear in court March 25.