summaryrefslogtreecommitdiff
path: root/app/lib
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-14 10:22:57 -0400
committerDavid Gay <david@davidgay.org>2021-06-14 10:22:57 -0400
commit362fcb62af0949b4c7ac1dfa052fa10b39d70b43 (patch)
tree7ba4d1b41413800c7e2d4626dbd02c08a983286c /app/lib
parentd349eaa9ce4700f5c71f7266dbbaaceade9dd7c1 (diff)
parent007896b0057b8aecbf74dddd269b57efe3f6e0e6 (diff)
Merge branch 'develop' into 0.1.11
# Conflicts: # CHANGELOG.md
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/activity_processor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/activity_processor.rb b/app/lib/activity_processor.rb
index b5dd11c..4a06a98 100644
--- a/app/lib/activity_processor.rb
+++ b/app/lib/activity_processor.rb
@@ -166,7 +166,8 @@ class ActivityProcessor
end
def handle_title_result(data)
- if @character.award_title(data[:gid])
+ title = Title.find_by_gid(data[:gid])
+ if @character.award_title(title)
@results.push({ type: "title", title: title })
end
end