Fixed a bug with wait for player always being on.