I have a server which has custom settings/plugins such as faster charging speed and I noticed while charging and pressing E (the prompt that tells you that you are too far away from survivors and can teleport to them as a ghost), the next charge will have infinite cooldown and can't charge.
I don't know the exact cause of this bug but I have noticed it in my custom server and also a few other custom servers, and I haven't found any plugin relating to this.
This plugin simply detects when a Charger is in the charging state and is able to press E to spawn to a random Survivor as a ghost, and then sets the cooldown to the value of convar z_charge_interval.
This is my first plugin released, any feedback is appreciated