Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Commit 55c06d4

Browse files
CleversonCleverson
authored andcommitted
Removed detection for auto team swap
This will allow the server to use warmup when swap team start
1 parent 2dbbb5c commit 55c06d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

addons/amxmodx/scripting/PugWarmup.sma

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
new bool:g_bWarmup;
1212

1313
new g_pPlayersMin;
14-
new g_pAutoStartHalf;
1514

1615
new g_hMsgWeapon;
1716

@@ -23,7 +22,6 @@ public plugin_init()
2322
register_plugin("Pug Mod (Warmup)",PUG_MOD_VERSION,PUG_MOD_AUTHOR);
2423

2524
g_pPlayersMin = get_cvar_pointer("pug_players_min");
26-
g_pAutoStartHalf = get_cvar_pointer("pug_force_auto_swap");
2725

2826
g_hMsgWeapon = get_user_msgid("HideWeapon");
2927

@@ -50,7 +48,7 @@ public PugEventFirstHalf()
5048

5149
public PugEventHalfTime()
5250
{
53-
if(!get_pcvar_bool(g_pAutoStartHalf) || (get_playersnum(0) < get_pcvar_num(g_pPlayersMin)))
51+
if(get_playersnum(0) < get_pcvar_num(g_pPlayersMin))
5452
{
5553
PugMapObjectives(1);
5654
g_bWarmup = true;

0 commit comments

Comments
 (0)