summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorDastgir <dastgir@users.noreply.github.com>2015-10-24 09:54:35 +0530
committerDastgir <dastgir@users.noreply.github.com>2015-10-24 09:54:35 +0530
commitb286ad29f7542d0630776a377974bf2997e1e749 (patch)
treee57ced9d977f8115f3cdce708fb1a627798f9dc0 /src/map/script.c
parent92d9b4919517d3b7121bd1ebaa4fb75fc6761a7c (diff)
parent7113dbbc642a444ccb32c6f53cde69e3b93df906 (diff)
downloadhercules-b286ad29f7542d0630776a377974bf2997e1e749.tar.gz
hercules-b286ad29f7542d0630776a377974bf2997e1e749.tar.bz2
hercules-b286ad29f7542d0630776a377974bf2997e1e749.tar.xz
hercules-b286ad29f7542d0630776a377974bf2997e1e749.zip
Merge pull request #751 from dastgir/script_doc
Updated script_commands.txt
Diffstat (limited to 'src/map/script.c')
-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 006daf7b9..54d8d338d 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -19208,7 +19208,7 @@ BUILDIN(bg_join_team) {
sd = script->rid2sd(st);
if( !sd )
- script_pushint(st, 1);
+ script_pushint(st, -1);
else
script_pushint(st,bg->team_join(team_id, sd)?0:1);