File saved wrong? Fixed...
File saved wrong? Fixed...
1.1 --- a/plugins/mapchooser.sp Sat Jan 26 19:54:15 2008 +0000
1.2 +++ b/plugins/mapchooser.sp Sun Jan 27 16:04:36 2008 +0000
1.3 @@ -423,7 +423,7 @@
1.4 new time;
1.5 if (GetMapTimeLimit(time))
1.6 {
1.7 - if (time > 0 && time < GetConVarInt(g_Cvar_ExtendTimeMax))
1.8 + if (time > 0)
1.9 {
1.10 ExtendMapTimeLimit(GetConVarInt(g_Cvar_ExtendTimeStep)*60);
1.11 }
1.12 @@ -432,7 +432,7 @@
1.13 if (g_Cvar_Winlimit != INVALID_HANDLE)
1.14 {
1.15 new winlimit = GetConVarInt(g_Cvar_Winlimit);
1.16 - if (winlimit && winlimit < GetConVarInt(g_Cvar_ExtendRoundMax))
1.17 + if (winlimit)
1.18 {
1.19 SetConVarInt(g_Cvar_Winlimit, winlimit + GetConVarInt(g_Cvar_ExtendRoundStep));
1.20 }
1.21 @@ -441,7 +441,7 @@
1.22 if (g_Cvar_Maxrounds != INVALID_HANDLE)
1.23 {
1.24 new maxrounds = GetConVarInt(g_Cvar_Maxrounds);
1.25 - if (maxrounds && maxrounds < GetConVarInt(g_Cvar_ExtendRoundMax))
1.26 + if (maxrounds)
1.27 {
1.28 SetConVarInt(g_Cvar_Maxrounds, maxrounds + GetConVarInt(g_Cvar_ExtendRoundStep));
1.29 }
1.30 @@ -450,7 +450,7 @@
1.31 if (g_Cvar_Fraglimit != INVALID_HANDLE)
1.32 {
1.33 new fraglimit = GetConVarInt(g_Cvar_Fraglimit);
1.34 - if (fraglimit && fraglimit < GetConVarInt(g_Cvar_ExtendFragMax))
1.35 + if (fraglimit)
1.36 {
1.37 SetConVarInt(g_Cvar_Fraglimit, fraglimit + GetConVarInt(g_Cvar_ExtendFragStep));
1.38 }