It had been 13 days since the Orioles last played at home. Lots had happened, most of it good, since then.

“I forgot what the inside of this place looked like,” Chris Davis joked.

Davis and the Orioles pulled off a host of fine plays in the field, and thanks to a bad one by the Kansas City Royals, scored a 4-3 win before 12,981 at Oriole Park on Tuesday night.

With the game tied at 3 in the bottom of the eighth, Adam Jones led off with a walk off Tim Collins (1-1). After Davis was struck out, Luke Hochevar entered and threw a pickoff throw away allowing Jones to move up a base.

Matt Wieters doubled to left to score Jones, and the Orioles led 4-3.

It was their third straight win, the third time this season they’ve done that.

Tommy Hunter (2-1) got the win with 1 1/3 perfect innings, and Jim Johnson picked up his 12th save with a perfect ninth.

Before a 48-minute rain delay, there were three double plays in the first six innings, a fine play by J.J. Hardy at short and a creditable start by Wei-Yin Chen.

Chen gave up nine hits, all singles in 6 1/3 innings, and relied on his defense to keep the Royals (17-12) in check. It had been raining through much of the day, but about two hours before game time, it stopped. In the top of the seventh with one on and one out, heavy rain began falling and the game was halted.

When play resumed, Brian Matusz replaced Chen. After Matusz retired Elliott Johnson on a fly ball, Alex Gordon homered to right, his fourth of the season. It was the first inherited run Matusz allowed to score since becoming a reliever last August. His streak of 26 stranded was impressive, but it’s over now. After the homer, Hunter replaced him.

The Orioles (20-13) scored a run on three straight singles by Manny Machado, Nick Markakis and Jones off Ervin Santana in the first, and after Davis struck out, Wieters doubled to right center to score Markakis and Jones, and the Orioles had a 3-0 lead.