Bug fix for setting flags when using next task
Merge branch 'master' of https://github.com/10DaysLeftToLive/TimeWhaleEngine