diff options
Diffstat (limited to 'internal/game/action_burn.go')
| -rw-r--r-- | internal/game/action_burn.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/game/action_burn.go b/internal/game/action_burn.go index 917a6fe..b16ba42 100644 --- a/internal/game/action_burn.go +++ b/internal/game/action_burn.go @@ -225,7 +225,7 @@ func (g *Game) advanceBurn(sess *net.Session, p *player.Player) { g.CancelAction(p) msg := fmt.Sprintf("You manage to get a fire going!") - if xp > 0 && p.OptionBool("xpdrops") { + if xp > 0 && p.OptionBool("xp_drops") { msg += fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking]) } sess.WriteLine(msg) @@ -282,7 +282,7 @@ func (g *Game) advanceStoke(sess *net.Session, p *player.Player) { g.AccountStore.SaveCharacter(p) msg := fmt.Sprintf("You throw %s onto the fire.", name) - if xp > 0 && p.OptionBool("xpdrops") { + if xp > 0 && p.OptionBool("xp_drops") { msg += fmt.Sprintf(" (+%dxp %s)", xp, player.SkillAbbr[player.Firemaking]) } sess.WriteLine(msg) |
