diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-10 13:19:06 +0000 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-10 13:19:06 +0000 |
commit | 65606b918593cfdabb2377cb83a34f4386fdf72b (patch) | |
tree | d74303c7ea5416b4d129a75237f013f3d56225f0 /npc/functions/fishing.txt | |
parent | 79130d8c5f3bd81abf089246b0391ad59717a9e3 (diff) | |
download | serverdata-65606b918593cfdabb2377cb83a34f4386fdf72b.tar.gz serverdata-65606b918593cfdabb2377cb83a34f4386fdf72b.tar.bz2 serverdata-65606b918593cfdabb2377cb83a34f4386fdf72b.tar.xz serverdata-65606b918593cfdabb2377cb83a34f4386fdf72b.zip |
Global Event Handler.
Hurnscald NPCs are incompatible.
I've run in epoll problems once on ML, so I'm making this again.
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r-- | npc/functions/fishing.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index dcf4ac02..fee0acb7 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -44,8 +44,7 @@ OnBite: OnCleanUp: dispbottom l("You waited too long and lost the bait..."); specialeffect(getvariableofnpc(.failure_fx, @fishing_spot$), SELF, playerattached()); // event fail -OnPCLogoutEvent: - fishing_cleanup @fishing_spot$; + fishing_cleanup(@fishing_spot$); @fishing_spot$ = ""; // unbind fishing npc end; } |