summaryrefslogtreecommitdiff
path: root/internal/spells/spells.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/spells/spells.go')
-rw-r--r--internal/spells/spells.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/spells/spells.go b/internal/spells/spells.go
index 34eea17..78220c8 100644
--- a/internal/spells/spells.go
+++ b/internal/spells/spells.go
@@ -68,7 +68,7 @@ type Spell struct {
func (m *SpellBook) Add(title string) {
for i, v := range m.Spells {
if v.Title == title {
- v.Level += 1
+ v.Level++
m.Spells[i] = v
return
}