aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_search.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act_search.go')
-rw-r--r--internal/game/act_search.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/internal/game/act_search.go b/internal/game/act_search.go
index 6f5fa65..83ea534 100644
--- a/internal/game/act_search.go
+++ b/internal/game/act_search.go
@@ -82,16 +82,6 @@ func (g *Game) advanceSearch(sess *net.Session, p *player.Player) {
}
}
- if def.SearchMiscTable != "" {
- dt2, err := behavior.LoadDropTable(g.DataDir, def.SearchMiscTable)
- if err == nil && len(dt2.Drops) > 0 {
- drop := behavior.ResolveDrop(g.DataDir, dt2.Drops)
- if drop != nil && drop.ItemID != "" {
- g.giveSearchLoot(sess, p, drop)
- }
- }
- }
-
g.AccountStore.SaveCharacter(p)
g.cancelAction(p)
}