fix botstart

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2651 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-09-16 21:58:09 +00:00
parent a29a07c42f
commit 4c6596efec
+18 -12
View File
@@ -18,20 +18,26 @@ alias startbotmatch [
]
]
alias preparebotmatch [
echo starting botmatch..
// register event that is fired during mapload
alias mapstartonce [
kickallbots
startbotmatch // add bots
]
mode $tmp_mode
map $tmp_botmap
]
// register events and change map
alias startbotmap [
if $connected [ disconnect ] // async
sleep 1000 [
echo starting botmatch..
// register event that is fired during mapload
alias mapstartonce [
kickallbots
startbotmatch // add bots
]
mode $tmp_mode
map $tmp_botmap
if $connected [
alias mapstartonce [ preparebotmatch ]
disconnect
] [
preparebotmatch
]
]