Closed Derpduck closed 3 years ago
Tested on a server running Zonemod, restarting the round with a vote and by naturally moving onto the 2nd found worked fine. For some reason running these changes from a local server started from a lobby caused the clips to not be removed.
OnMapStart is fired when the map finishes loading or the 2nd round starts, this is used by logic_auto entities to automatically perform some tasks, such as removing entities, or setting dimensions for entities.
Using the command
mp_restartgame
I noticed that this didn't seem to fire correctly, and some clips were still left in the map that should have been deleted (tested c1m2).I believe that
mp_restartgame
is a bugged command and doesn't function correctly, at least for L4D2. But this problem could potentially happen using the regular restart chapter vote and cause major issues.