| 105 | } |
| 106 | |
| 107 | void ExtendMapTimeLimit(int extra_time) |
| 108 | { |
| 109 | if (extra_time == 0) |
| 110 | { |
| 111 | mp_timelimit->SetValue(0); |
| 112 | return; |
| 113 | } |
| 114 | |
| 115 | extra_time /= (60 / kMapTimeScaleFactor); |
| 116 | |
| 117 | mp_timelimit->SetValue(mp_timelimit->GetInt() + extra_time); |
| 118 | } |
| 119 | |
| 120 | void OnConVarChanged(ConVar *pConVar, const char *oldValue, float flOldValue) |
| 121 | { |
no test coverage detected