summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-03-12 23:43:22 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-03-12 23:43:22 +0100
commitfbdaa1e08639f8a3cc4a623230c7ee543572b4cb (patch)
tree2bade032633238415f48864d524a4e5071313b70 /internal
parent51ff298f2313dbeba1918106e6de81e41d9cf33b (diff)
rename
Diffstat (limited to 'internal')
-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
}