Skip to content

Commit

Permalink
feat: prevent lag spikes on Lasers and Fling Block
Browse files Browse the repository at this point in the history
  • Loading branch information
mlugg committed Jul 28, 2022
1 parent b78a1ed commit 1b40ee6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoexec.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ cond "!game=mel" sar_on_load cond "!map=mp_coop_wall_5" sar_record_at 0
// Utility function used below and in aliases.cfg
sar_function __choose "cond $'$1$' $2; cond $'!($1)$' $3"

// Prevent lag spikes on Lasers and Fling Block
sar_on_load __choose "map=mp_coop_laser_2 | map=mp_coop_catapult_wall_intro" "sar_always_transmit_heavy_ents 1" "sar_always_transmit_heavy_ents 0"

// Add all the exposed aliases
exec aliases

Expand Down

0 comments on commit 1b40ee6

Please sign in to comment.