diff options
Diffstat (limited to 'internal/game/act_steal.go')
| -rw-r--r-- | internal/game/act_steal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/act_steal.go b/internal/game/act_steal.go index f9ca095..32889ce 100644 --- a/internal/game/act_steal.go +++ b/internal/game/act_steal.go @@ -418,7 +418,7 @@ func (g *Game) giveStealLoot(sess *net.Session, p *player.Player, drop *behavior } if drop.ItemID == "credits" { - p.Credits += qty + g.grantCredits(p, qty) sess.WriteLine(g.colorize(sess, "currency_pickup", fmt.Sprintf("You steal %d credits.", qty))) return } |
