diff options
-rw-r--r-- | npc/functions/fishing.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt index 8d87fd2b9..a68984cfa 100644 --- a/npc/functions/fishing.txt +++ b/npc/functions/fishing.txt @@ -40,7 +40,8 @@ OnBite: setnpcdir @fishing_spot$, LEFT; @fishing_tick = gettimetick(0); - specialeffect(getvariableofnpc(.bite_fx, @fishing_spot$), SELF, playerattached()); + .@bite_fx=getvariableofnpc(.bite_fx, @fishing_spot$); + specialeffect(.@bite_fx ? .@bite_fx : 30, SELF, playerattached()); end; OnCleanUp: |