Uploaded September 2015 | Updated December 2026, 2 days ago
If the wave countdown timer is running when the wave is restarted (via "restart game" vote, or "tf_mvm_jump_to_wave" cvar, etc.), it doesn't actually get reset, so the wave will start early, possibly when no one is readied up. This mod fixes the bug.
Basically, CPopulationManager::JumpToWave should be setting g_pGameRules.m_flRestartRoundTime to -1.0f (the value used to indicate that the countdown isn't active), but for whatever reason, the function doesn't actually do that. Probably because Valve forgot to put it in there and then never bothered to test any edge cases.
Source code for this server mod:
github.com/sigsegv-mvm/libtf2mod/commit/48afa09ea9a656ece01bae966b18937b1ccb0ff4
If the wave countdown timer is running when the wave is restarted (via "restart game" vote, or "tf_mvm_jump_to_wave" cvar, etc.), it doesn't actually get reset, so the wave will start early, possibly when no one is readied up. This mod fixes the bug.
Basically, CPopulationManager::JumpToWave should be setting g_pGameRules.m_flRestartRoundTime to -1.0f (the value used to indicate that the countdown isn't active), but for whatever reason, the function doesn't actually do that. Probably because Valve forgot to put it in there and then never bothered to test any edge cases.
Source code for this server mod:
github.com/sigsegv-mvm/libtf2mod/commit/48afa09ea9a656ece01bae966b18937b1ccb0ff4



![Bug: Engiebot buildings can survive wave end [teleporter edition]
If the wave ends precisely 0-100 milliseconds before an engiebot is about to build his teleporter, then the teleporter will actually be built *after* the wave ends (and therefore, after the game destroys all blu buildings). I slowed the game down to make the timing easier for this video. Bug: Engiebot buildings can survive wave end [teleporter edition]](https://i.ytimg.com/vi/WgbPP1P-5Qs/mqdefault.jpg)






