Closed fredmatix closed 7 months ago
Well spotted, make a PR to make that only happen if autoplant is enabled 👍
Okay we tested it without the Line Server.ExecuteCommand("mp_roundtime_defuse 1.92"); So far everything is working, due to the fact, that we set the mp_roundtime_defuse to 0.25 via the configfile of the plugin. I dont think that you need to hardcode the CVAR at all. Or am I missing something? If not I would just leave this particular line away and rely on the configfile fully.
I’ve removed the line you mentioned: https://github.com/B3none/cs2-retakes/commit/ebaf8efc95e4c0d0fb1d2344c6f677179b5ddd8b
Hi
On line 948 in the RetakesPlugin.cs you declare the CVAR to be 1.92. When disabling autoplant you have full 2 minutes to run to the other bombspot. Why do you define it in the code, when we already have the ability to declare it in the configfile?
private void HandleAutoPlant() { // Ensure the round time for defuse is always set to 1.92 Server.ExecuteCommand("mp_roundtime_defuse 1.92");