diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-10-26 09:57:24 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-10-26 09:57:24 +0530 |
commit | e54cab202300a8fc5bc7f7e326f09906cfe8d800 (patch) | |
tree | 0771de446fd144cad89a250b7dc67519eaa2ba5b /src/map/script.c | |
parent | 444ff2fa558cff839b1aaf8b369a5bf395dfa0b7 (diff) | |
parent | c956a618cb92b53407a0dc0c999f4cd68e63d536 (diff) | |
download | hercules-e54cab202300a8fc5bc7f7e326f09906cfe8d800.tar.gz hercules-e54cab202300a8fc5bc7f7e326f09906cfe8d800.tar.bz2 hercules-e54cab202300a8fc5bc7f7e326f09906cfe8d800.tar.xz hercules-e54cab202300a8fc5bc7f7e326f09906cfe8d800.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
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); |