summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNetSysFire <59517351+NetSysFire@users.noreply.github.com>2022-09-26 03:14:57 +0200
committerNetSysFire <59517351+NetSysFire@users.noreply.github.com>2022-09-26 03:15:11 +0200
commitb357b809ff43cae5b5db739194acb4386a15f85a (patch)
tree677fec6f6c751ac6d0fd1c4d474e5ed5eeb28782
parentaf0237ad91a2c3e68a7623f75ca5128e3d9e3451 (diff)
downloadserverdata-b357b809ff43cae5b5db739194acb4386a15f85a.tar.gz
serverdata-b357b809ff43cae5b5db739194acb4386a15f85a.tar.bz2
serverdata-b357b809ff43cae5b5db739194acb4386a15f85a.tar.xz
serverdata-b357b809ff43cae5b5db739194acb4386a15f85a.zip
fix bug that 0 >= 0
-rw-r--r--npc/003-10/kreist.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/003-10/kreist.txt b/npc/003-10/kreist.txt
index 675619367..f81dad5e2 100644
--- a/npc/003-10/kreist.txt
+++ b/npc/003-10/kreist.txt
@@ -73,7 +73,7 @@ L_QuestMaster:
}
// Maybe you finished the quest?
- if (get_byte(.@q3, 1) >= get_byte(.@q3, 0)) {
+ if (.@q3 && get_byte(.@q3, 1) >= get_byte(.@q3, 0)) {
mesn l("Kreist, Taskmaster");
mesq l("Good job, you've killed the %d %s and reported back in time!", get_byte(.@q3, 0), getmonsterlink(.@q2));
next;