aboutsummaryrefslogtreecommitdiff
path: root/internal/game/action_gather.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/action_gather.go')
-rw-r--r--internal/game/action_gather.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_gather.go b/internal/game/action_gather.go
index e1e724e..62637c3 100644
--- a/internal/game/action_gather.go
+++ b/internal/game/action_gather.go
@@ -216,7 +216,7 @@ func (g *Game) advanceGather(sess *net.Session, p *player.Player) {
if msg == "" {
msg = fmt.Sprintf("You manage to get some %s.", itemName)
}
- if xp > 0 && p.Toggles["xpdrops"] {
+ if xp > 0 && p.OptionBool("xpdrops") {
msg += fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.SkillName(cfg.Skill)])
}
sess.WriteLine(msg)