The Arizona Diamondbacks found their offense, but suffered a loss to their lineup Wednesday afternoon.

D-backs outfielder David Peralta was pulled from Arizona’s game against the Pittsburgh Pirates in the sixth inning with right trap tightness, the team announced.

It’s not immediately known how Peralta was injured.

This season, Peralta’s batting .324 with 57 hits, six home runs and 28 RBI in 41 games (176 at-bats). He’s scored 25 runs and has a .365 OBP.

Entering play Wednesday, Peralta’s in second place among MLB leaders in doubles (16) and hits (57) and 14th in batting average.

He struggled Wednesday before exiting the game, going 0-for-3 with two groundouts and a foul out.

Peralta’s the second D-back to leave the game due to injury as starting pitcher Zack Greinke’s outing was cut short in the eighth inning. The injury was not immediately known.

Luckily for the D-backs, Peralta’s absence wasn’t fully felt, as the team took down the Pirates 11-1.

Follow @Tdrake4sports