diff options
| author | historia <[not public]> | 2026-06-11 20:41:06 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-11 20:41:06 -0400 |
| commit | d6ab0e93a64525ce34f89e26d5272efbac513c32 (patch) | |
| tree | d0ec59a72a32a15d0917d9c6c3bfa2f2a424c1f1 /internal/game/action_gather.go | |
| parent | 6b2b4bf470b655f01c5a21c5f558a6102402c214 (diff) | |
| download | thehouseoficarus-d6ab0e93a64525ce34f89e26d5272efbac513c32.tar.gz | |
feat: big map and options changes
Diffstat (limited to 'internal/game/action_gather.go')
| -rw-r--r-- | internal/game/action_gather.go | 2 |
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) |
