After seeing a food delivery man walk onto a basketball court during a game Thursday, the Duquesne Dukes aren’t taking chances of it happening again.

Duquesne, which housed Loyola, issued a statement Thursday saying it is tightening security.

School officials also determined that the act was a prank.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

A Wilson basketball during a game between the Long Island Nets and the College Park Skyhawks on January 25, 2022 at the Gateway Center Arena in College Park, Georgia.
(Chamberlain Smith/NBAE via Getty Images)

«We strive to provide a safe and enjoyable environment for guests and participants at all events on our campus,» the school said via ESPN. «We also rely on the common courtesy and civility of attendees to comply with current guidelines.

«This was a prank, planned in advance, made for Internet exposure. We determined that the individual was using a microphone while someone was filming him walking onto the field during active play. While the incident may have seemed amusing at the time, , and no harm was done, we are aware that incidents like this can put players and officials at risk.

DELIVERY MACHINE WHO WALKED ON THE COURT DURING COLLEGE BASKETBALL GAME APPEARS TO BE A JOKER

«The university has reviewed its safety protocols and strengthened its security measures to ensure conditions for our players and fans are safe and meet the standards for the highest level of competition in college basketball.»

Loyola Ramblers assistant athletic director Austin Hansen was shooting video on the court when the delivery guy walked in front of him yelling «DoorDash?» as he holds a McDonald’s bag.

«You’ve got to get off the court, man,» a security guard said on video of Hansen lifting him off the ground. The man kept looking at the stands and asked if anyone ordered DoorDash.

Hansen also posted a photo on his Twitter of the man using what appears to be the microphone Duquesne was referring to.

Head coach Drew Valentine of the Loyola Ramblers shouts instructions to his team during a game against the Davidson Wildcats on January 4, 2023 at John M. Belk Arena in Davidson, NC

Head coach Drew Valentine of the Loyola Ramblers shouts instructions to his team during a game against the Davidson Wildcats on January 4, 2023 at John M. Belk Arena in Davidson, NC
(David Jensen/Icon Sportswire via Getty Images)

«Only in Duquesne can a guy deliver food to the court during the game,» Dukes head coach Keith Dambrot told reporters after the game on ESPN. «Craziest thing I’ve ever seen, other than when I was an assistant at Eastern Michigan. We had these friends of ours who were really big fans. And they got the ice cream man to deliver the ice cream to the coach.» the match, during the match. The closest thing I’ve ever seen to that.»

The incident occurred with 16:30 remaining for the end of the second half. Loyola had the ball near the right end line when the delivery man entered the court looking for someone to claim the McDonald’s he was holding.

An official’s timeout was whistled as he was carried off the field, and the game announcers couldn’t believe their eyes.

PENN STATE BASKETBALL COACH RIPS REFS AFTER 20-POINT LOSS: ‘I’M DONE SENDING CLIPS’

«Someone came to the flat on the other side. Looking for an Uber Eats [delivery] there? Bring something from McDonald’s. Actually, I’m not kidding,» the play-by-play announcer said.

«This has to be one of the best of all time,» added the color commentator.

«I think that’s what’s happening,» the play-by-play announcer said.

When the announcers saw the replay of the video, they were shocked by what happened.

«This guy is in the corner. Was he going to hand the McDonald’s to someone on the court? Can we rule it out?» said the color commentator, laughing.

A basketball on the court during a game between the Syracuse Orange and the Maryland Terrapins at the Carrier Dome on November 27, 2017 in Syracuse, NY

A basketball on the court during a game between the Syracuse Orange and the Maryland Terrapins at the Carrier Dome on November 27, 2017 in Syracuse, NY
(Brett Carlsen/Getty Images)

The man was seen among the spectators in the stands that were still holding up the McDonald’s moments after he was thrown off the field.

CLICK HERE TO GET THE FOX NEWS APP

Duquesne’s next home game is on February 8 against George Mason.