mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
create a nasty hack to get rid of the persistent Tavern quest exhaust sprites
This commit is contained in:
@@ -273,6 +273,7 @@ module.exports.tavernQuest = {};
|
||||
var tavernQ = {_id:'habitrpg','quest.key':{$ne:null}};
|
||||
process.nextTick(function(){
|
||||
mongoose.model('Group').findOne(tavernQ, function(err,tavern){
|
||||
return; // No tavern quest // FIXME do this properly!
|
||||
if (!tavern) return; // No tavern quest
|
||||
|
||||
var quest = tavern.quest.toObject();
|
||||
|
||||
Reference in New Issue
Block a user