properly disconnect before starting botmatch

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1980 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-15 19:40:37 +00:00
parent d4bd26a172
commit 4e149db02a
+8 -6
View File
@@ -12,12 +12,14 @@ alias startbotmatch [
]
alias startbotmap [
if $connected [ disconnect ]
echo starting botmatch..
kickallbots
sleep 5000 startbotmatch
mode $tmp_mode
map $tmp_botmap
if $connected [ disconnect ] // async
sleep 1000 [
echo starting botmatch..
mode $tmp_mode
map $tmp_botmap
]
sleep 5000 [ kickallbots; startbotmatch ]
]
newmenu singleplayer