summaryrefslogtreecommitdiff
path: root/npc/functions/fishing.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-24 23:15:46 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-24 23:15:46 -0300
commitec7c9402cc3f30dae3d601b4823296d6d8fd136f (patch)
tree631947bd166cf323b173ddb7baac8fb3980db37a /npc/functions/fishing.txt
parentaea3099eb95f7cac7a97b34c9b19ad2006007abf (diff)
downloadserverdata-ec7c9402cc3f30dae3d601b4823296d6d8fd136f.tar.gz
serverdata-ec7c9402cc3f30dae3d601b4823296d6d8fd136f.tar.bz2
serverdata-ec7c9402cc3f30dae3d601b4823296d6d8fd136f.tar.xz
serverdata-ec7c9402cc3f30dae3d601b4823296d6d8fd136f.zip
Fix code typo
Diffstat (limited to 'npc/functions/fishing.txt')
-rw-r--r--npc/functions/fishing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/fishing.txt b/npc/functions/fishing.txt
index 0e6a8c62e..56415e6eb 100644
--- a/npc/functions/fishing.txt
+++ b/npc/functions/fishing.txt
@@ -90,7 +90,7 @@ function script fishing {
.@rod = (.@rod ? .@rod : FishingRod);
.@net_ratio = getvariableofnpc(.net_ratio, .@npc$); // How many fishes and baits are required?
- .@net_ratio = min(1, (.@net_ratio ? .@net_ratio : 1));
+ .@net_ratio = max(1, (.@net_ratio ? .@net_ratio : 1));
.@regen_time = getvariableofnpc(.cooldown, .@npc$); // cooldown for the fishing spot
.@regen_time = (.@regen_time ? .@regen_time : 20);