summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt3
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: