minor code tweaks

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5228 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-06-25 19:26:21 +00:00
parent 201ba99c79
commit 1bb161a0cb
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -878,6 +878,7 @@ void startmap(const char *name, bool reset) // called just after a map load
if(mapstartonce && mapstartonce[0])
{
addsleep(0, mapstartonce); // do this as a sleep to make sure map changes don't recurse inside a welcome packet
// BTW: in v1.0.4 sleep 1 was required to make it work on initial mapload [flowtron:2010jun25]
alias("mapstartonce", "");
}
}