WICHITA, Kan. — An Ohio gamer upset over a $1.50 bet in an online game pleaded guilty Wednesday to asking a prankster to make a bogus emergency call, then tried to destroy his text communications so as to hide his involvement when he realized from news reports that the antic had gotten a Kansas man killed by police.

Casey Viner, 19, of North College Hill, Ohio, changed his plea to guilty on charges of conspiracy and obstruction of justice. He initially pleaded not guilty.

The plea deal jointly recommends two years of probation, although the judge is not bound by that sentencing recommendation. The deal also recommends Viner be barred from online gaming for 2 years.

Nineteen-year-old Casey Viner of North College Hill, Ohio, changed his plea Wednesday to guilty on charges of conspiracy and obstruction of justice. KSNW

The death of Andrew Finch, 28, in Wichita drew national attention to the practice of "swatting," a form of retaliation in which someone reports a false emergency to get authorities, particularly a SWAT team, to descend on an address.

Authorities said Viner recruited Tyler R. Barriss to "swat" an opponent in Wichita over a $1.50 bet stemming from the game Call of Duty: WWII. But the address they used was old.

Barriss, a 26-year-old Los Angeles man with an online reputation for "swatting," called police from Los Angeles on Dec. 28, 2017, to falsely report a shooting and kidnapping at that Wichita address. Finch, who was not involved in the video game or dispute, was shot by police when he opened the door.

The intended target in Wichita, Shane Gaskill, 20, is charged as a co-conspirator in the case. Authorities said Viner provided Barriss with an address for Gaskill that Gaskill had previously given to Viner. Prosecutors alleged that when Gaskill noticed Barriss was following him on Twitter, he gave Barriss that same old address and taunted him to "try something."

The federal indictment detailed Viner's panic in text communications after he realized someone had gotten killed and the ensuing investigation would likely unveil his Twitter conversations related to the prank. A person identified in the indictment only as J.D. texted him saying that hopefully Viner didn't say anything stupid.

"I did, I literally said you're gonna be swatted. Not thinking at all, so I'm going to prison," Viner texted back.

When J.D. apparently tried to reassure him by pointing out that Viner himself didn't call the hoax in, Viner replied, "Does t (sic) even matter?????? I was involved I asked him to do it in the first place," according to the indictment.

The indictment also alleged that a forensic examination of Viner's iPhone recovered his deleted outgoing messages to unknown persons, including one in which Viner allegedly wrote: "I was involved in someone's death."

Sentencing for Viner was scheduled for June 26.

Barriss was sentenced last week to 20 years in prison after pleading guilty to 51 counts for making fake emergency calls and threats around the country, including the deadly hoax call in Kansas. Prosecutors believe it is the longest prison sentence ever imposed for "swatting."

Gaskill's trial has been delayed to April 23 amid plea talks with federal prosecutors.