Skip to content

Commit

Permalink
Fix refunds breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxfellen committed Dec 21, 2024
1 parent b892326 commit db7f5d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/vscripts/potato/temp_refund_exploit_fix.nut
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
function OnGameEvent_mvm_begin_wave(_)
Convars.SetValue("tf_mvm_respec_enabled", false)

function OnGameEvent_mvm_wave_complete(_)
Convars.SetValue("tf_mvm_respec_enabled", true)

function OnGameEvent_recalculate_holidays(_) {
if (GetRoundState() != Constants.ERoundState.GR_STATE_PREROUND) return

Expand Down

0 comments on commit db7f5d8

Please sign in to comment.