Instead of adding the delta time, subtract it from a variable with a value of 300 (5 * 60 seconds). When the variable is <= 0.0f, the five minutes passed.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com