summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 53a8e0fd9..cae1d094b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5928,7 +5928,7 @@ BUILDIN_FUNC(grouprandomitem)
int group;
group = script_getnum(st,2);
- script_pushint(st,-itemdb_searchrandomid(group));
+ script_pushint(st,itemdb_searchrandomid(group));
return 0;
}