summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-11-07 00:25:17 -0300
committerJesusaves <cpntb1@ymail.com>2022-11-07 00:25:17 -0300
commit1ce45e518bec34cbefe1efa56b776a08ba4e68be (patch)
treecc8c080c7c9bada782d0ff6531cdc684e0549d00 /npc/functions/fishing.txt
parent5c65874cc82bc7e33b86cad89619470bb40073be (diff)
downloadserverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.gz
serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.bz2
serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.tar.xz
serverdata-1ce45e518bec34cbefe1efa56b776a08ba4e68be.zip
Some minor changes to make sure dead people will run only the correct timers
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 103784c5e..bac766f98 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -35,6 +35,7 @@ function script fishing_cleanup {
end;
OnBite:
+ if (ispcdead()) end;
if (getnpcdir(@fishing_spot$) != UP)
end;