diff options
Diffstat (limited to 'internal/game/action_gather.go')
| -rw-r--r-- | internal/game/action_gather.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/game/action_gather.go b/internal/game/action_gather.go index 9b47de2..00c9070 100644 --- a/internal/game/action_gather.go +++ b/internal/game/action_gather.go @@ -378,8 +378,9 @@ func (g *Game) checkBirdNest(sess *net.Session, p *player.Player, cfg *action.Ga } nestName := "bird's nest" - if def, err := g.ItemStore.Load(birdsNestItemID); err == nil { - nestName = def.Name + nestDef, _ := g.ItemStore.Load(birdsNestItemID) + if nestDef != nil { + nestName = g.itemColorize(sess, nestDef, nestDef.Name) } freeSlot := -1 |
