mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-16 00:42:18 +00:00
create a nasty hack to get rid of the persistent Tavern quest exhaust sprites
This commit is contained in:
parent
8f21fb2419
commit
fbb1f9aec5
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue