Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
malichan committed Jul 17, 2015
1 parent 8f8f5cb commit 4618979
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ module.exports =
@handleQuestChange quest_id
updateQuestStatus: (qid, status) ->
quest = @state.quests[qid]
return unless quest?
for pid in quest.postquest
postq = @state.quests[pid]
if typeFreqs[quest.type] <= typeFreqs[postq.type] and status[postq.game_id] isnt 3
Expand Down

0 comments on commit 4618979

Please sign in to comment.