That moment when you discover a bug that went unnoticed for a very long time because the RNG associated with the script never selected that specific scenario after countless playtests.
And it all came down to a '6' instead of '26' causing a specific texture to not update when needed.