summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
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 41453e366..d3d98ad06 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -16430,7 +16430,7 @@ BUILDIN(bg_leave)
if( sd == NULL || !sd->bg_id )
return true;
- bg->team_leave(sd,0);
+ bg->team_leave(sd,BGTL_LEFT);
return true;
}