Fix bug in fishing
Something is seriously wrong with the "search" feature.
This commit is contained in:
parent
294ae2fa35
commit
c23a9856c9
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class FishingPole(Object):
|
|||
self.cmdset.add_default(CmdSetFishing)
|
||||
|
||||
def do_cast(self, fisher):
|
||||
if fisher.location != fisher.search("Lazy Dock", quiet=True):
|
||||
if fisher.location.key != "Lazy Dock":
|
||||
fisher.msg("You can't do that without being near the water.")
|
||||
elif fisher.db.fishing == Fishing.CAST:
|
||||
fisher.msg("You need to reel the line in first.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue