csgo-practice-mode
csgo-practice-mode copied to clipboard
Using sm_fixgrenades results in grenade data deletion
Expected behavior
Using this command would normally only reassign the ids used for grenades (and it does).
Actual behavior
But after using it; grenadeType, grenadeOrigin and grenadeVelocity entries in the nade config files get deleted. Every single nade has to be thrown and .updated again.
Steps to reproduce
- Plugin version: 1.3.3
- Sourcemod version: 1.10.0.6458
- Steps to reproduce (please be specific): Just
.save3 different nades. Then.deleteeither 1st or 2nd one. Usesm_fixgrenadesand try to.throwany<grenade id>. The nade won't be thrown.
I'd suggest map reloading after sm_fixgrenades . Do you know if the grenade data is actually deleted? Your steps to reproduce don't mention whether the actual data files get deleted or not.
Map reloading does not fix it, sadly. The file in which the nade data is stored, does not get deleted; the text inside however does. Tested with SM 1.10.0.6478 and the bug still exists.