Skip to content

Commit

Permalink
Merge pull request #106 from RGLgg/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
l-Aad-l authored Nov 22, 2024
2 parents d88eb8b + a6f5d9d commit 788df9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions addons/sourcemod/scripting/rglqol.sp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public void OnMapStart()
ServerCommand("sm plugins unload waitforstv");
}

public void OnClientPostAdminCheck(int client)
{
// Prevents users from bypassing sv_client_cmdrate_difference set in rgl_base.cfg
SetConVarInt(FindConVar("sv_client_cmdrate_difference"), 0);
}

public Action EventRoundStart(Handle event, const char[] name, bool dontBroadcast)
{
Expand Down
2 changes: 1 addition & 1 deletion cfg/rgl_pt_push.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exec "rgl_pt_base"
servercfgfile "rgl_pt_push" // sets server cfg to this config so that it gets autoexeced on level change

mp_timelimit "0" // unsets server timelimit
mp_winlimit "2" // unsets server winlimit
mp_winlimit "3" // unsets server winlimit
mp_windifference "0" // unsets windifference
mp_maxrounds "0" // sets maxrounds to 2

Expand Down

0 comments on commit 788df9b

Please sign in to comment.