summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f06698d16..0ae150f72 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -16923,7 +16923,7 @@ BUILDIN_FUNC(getcharip)
else if (script_isint(st, 2) || script_getnum(st, 2))
{
id = script_getnum(st, 2);
- sd = (sd = map_id2sd(id) ? map_id2sd(id) : map_charid2sd(id));
+ sd = (map_id2sd(id) ? map_id2sd(id) : map_charid2sd(id));
}
}
else