Fix for double end game on time end. Fixes #6