diff options
author | David Gay <david@davidgay.org> | 2021-07-14 17:55:49 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-07-14 17:55:49 -0400 |
commit | acc7e4df81de0ad27b296c45166b6efc00096459 (patch) | |
tree | 194b564045ee6aab129c0cf03c39c6d131cc2e73 /app | |
parent | 3f17361f21165fc8e7af6193a75d0a8d564a4e3f (diff) |
Fix bug where multiple activities could be learned at once
Diffstat (limited to 'app')
-rw-r--r-- | app/lib/activity_processor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/activity_processor.rb b/app/lib/activity_processor.rb index d9b694e..b8456c8 100644 --- a/app/lib/activity_processor.rb +++ b/app/lib/activity_processor.rb @@ -114,6 +114,7 @@ class ActivityProcessor @character.learned_activities.create(activity: new_activity) @results.push({ type: type, activity: new_activity }) end + break end end when "location" |