summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index cfc7ed052..053917259 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -7110,7 +7110,7 @@ BUILDIN(getitem) {
return true;
//Check if it's stackable.
- if (!itemdb->isstackable(nameid))
+ if (!itemdb->isstackable(nameid) || item_data->flag.force_serial)
get_count = 1;
else
get_count = amount;
@@ -7218,7 +7218,7 @@ BUILDIN(getitem2)
item_tmp.card[3]=(short)c4;
//Check if it's stackable.
- if (!itemdb->isstackable(nameid))
+ if (!itemdb->isstackable(nameid) || item_data->flag.force_serial)
get_count = 1;
else
get_count = amount;