Injury Time

How can a player get injured in the 94th minute when a try was scored in the 87th minute effectively ending the game?
A cup game goes into extra time if level after 80 minutes. If not, league games continue despite tries until a breakdown in play.
So it doesn't follow the laws of rugby. Rubbish!
yeah theres a bug where a try doesnt end the game