summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-03-11 00:39:53 +0100
committerGitHub <noreply@github.com>2019-03-11 00:39:53 +0100
commit28eb50882484697b10fa4764b3e0fd91d9e12a4e (patch)
tree0e385090ba73ffcece2909d03eb3df9a019a52a6 /src/map/script.c
parent63b87d387dade9a66db16607864ae2bd5fcdc57a (diff)
parent76a336eea15b0af70ebe4d3dd13b25f1f503e03c (diff)
downloadhercules-28eb50882484697b10fa4764b3e0fd91d9e12a4e.tar.gz
hercules-28eb50882484697b10fa4764b3e0fd91d9e12a4e.tar.bz2
hercules-28eb50882484697b10fa4764b3e0fd91d9e12a4e.tar.xz
hercules-28eb50882484697b10fa4764b3e0fd91d9e12a4e.zip
Merge pull request #2381 from AnnieRuru/60-bg_norespawn
Add missing documentation for disable battleground respawn
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 24cb8e4f4..1977d3b58 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -23687,7 +23687,7 @@ static BUILDIN(bg_create_team)
if( strcmp(map_name,"-") != 0 ) {
map_index = script->mapindexname2id(st,map_name);
if( map_index == 0 ) { // Invalid Map
- script_pushint(st,0);
+ script_pushint(st, -1);
return true;
}
}