summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2014-03-18 14:59:53 -0300
committershennetsind <ind@henn.et>2014-03-18 14:59:53 -0300
commit4cc9d5f91cf6276e28cc02bb75fc4158d28d553b (patch)
treedc1c82395e4996f9a862c52cb165a39bb43fecba /src/map/script.c
parent8ed83b91c0984b251740d0cb62870bf4ca889853 (diff)
downloadhercules-4cc9d5f91cf6276e28cc02bb75fc4158d28d553b.tar.gz
hercules-4cc9d5f91cf6276e28cc02bb75fc4158d28d553b.tar.bz2
hercules-4cc9d5f91cf6276e28cc02bb75fc4158d28d553b.tar.xz
hercules-4cc9d5f91cf6276e28cc02bb75fc4158d28d553b.zip
BG Queue Fixes & +++
Fixed issue where players would be able to join a ongoing game when queueing by meeting the criteria. Fixed/Implemented the maximum_afk_seconds setting. Fixed issue with the maxPlayers arena setting that'd cause the maximum to be less than specified. Added a new battlegrounds.conf setting "allowedTypes" for arenas in order for further customisation. Expect a few more soon. Special Thanks to AnnieRuru Signed-off-by: shennetsind <ind@henn.et>
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 17eba6b21..01a7e6410 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -16350,7 +16350,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;
}