Fix compiler error on MSVC. Stop slept players being woken up by duel challenges. Fixes #269