Fix queue_tick race
Merge branch 'master' of https://github.com/JiyuuProject/JiyuuBot