summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/lib/activity_processor.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c3e9bc2..aa58629 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
- Changed references to "Floret Region" in leviathan hunting activity to just "Floret", as per the rename.
- Added message output when you would learn how to do a new activity (e.g. cast a new spell), but you already know how
how to do it.
+- Fixed bug where multiple activities could be learned at once (e.g. multiple spells from one spellpage).
### Hearth
- Hearths now have locations, like characters do. All existing hearths are now located at Floret.
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"