summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script-fun.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 58646bc..61b3eb7 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -3578,7 +3578,9 @@ void builtin_getusers(ScriptState *st)
switch (flag & 0x07)
{
case 0:
- val = bl->bl_m->users;
+ // FIXME: SIGSEGV error
+ //val = bl->bl_m->users;
+ PRINTF("Sorry, but getusers(0) is disabled. Please use getmapusers() instead.\n"_fmt);
break;
case 1:
val = map_getusers();