The joys of statistical anomalies

My games has power ups and their spawning is controlled by a random number generator (one separate one for each power up).

First time I run to ensure the newest power up I added worked properly, two power ups spawned the exact frame. Naturally I assumed it was a bug causing the two RNG's to create the same number.

I spent 20 minutes trying to figure out what was causing it.

Turns out it was just a statistical anomaly where both RNG's happened to generate the exact same number.

Spooked me for a bit.