fixed a bug allowing the use of the replay game function outside of games