summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-21 05:58:20 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-21 05:58:20 -0300
commit357a5e0af9391094f499e8cc10221288ef53fe36 (patch)
tree4b94a186894eb948ee1d154eea73ebc94e7b784d /npc
parentaa87bb8a8038971cf700290912bc2ae07ece262d (diff)
downloadserverdata-357a5e0af9391094f499e8cc10221288ef53fe36.tar.gz
serverdata-357a5e0af9391094f499e8cc10221288ef53fe36.tar.bz2
serverdata-357a5e0af9391094f499e8cc10221288ef53fe36.tar.xz
serverdata-357a5e0af9391094f499e8cc10221288ef53fe36.zip
Also, fix the bug correctly
Diffstat (limited to 'npc')
-rw-r--r--npc/024-16/craftsman.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt
index 1d3fce662..00171a42d 100644
--- a/npc/024-16/craftsman.txt
+++ b/npc/024-16/craftsman.txt
@@ -124,7 +124,7 @@ function calcUpgrade {
return false;
if (CRAFTING_SCORE_COMPLETE % 40 < .@cf)
return false;
- if (.@cf < 0)
+ if (.@cf < 0 || .@gp < 0)
return false;
// You may get a free blueprint