force intermission only after 25% game time played

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2528 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-09-11 19:12:47 +00:00
parent b931e7b5e0
commit 33a0d1dbba
+1 -1
View File
@@ -20,7 +20,7 @@ struct mapaction : serveraction
int mode;
void perform()
{
if(isdedicated && numclients() > 1 && smode >= 0 && smode != 1)
if(isdedicated && numclients() > 2 && smode >= 0 && smode != 1 && gamemillis > gamelimit/4)
{
forceintermission = true;
nextgamemode = mode;