Closed FlaminSarge closed 2 years ago
Unsure what version to bump to for this so I'll leave it to you.
Also, looks like this should be ported to dev
too, as that doesn't have any additional usages of this forward.
Thanks for the PR - I never knew this was an issue. I'll look to doing another maintenance release tomorrow / this weekend.
Ported to dev branch in de5c8cfc5c00fe32a5835b23062dfe37956a4396
There's a fix for mainline SourceMod ( https://github.com/alliedmodders/sourcemod/pull/1573 ) for this in the works as well, but the plugin is using CalcCritical for something it really doesn't seem to need to, so I figured we can remove it and then add it back later if it's definitely needed for something.
When any plugin uses this forward, serverside crit calculation desyncs from clientside crit calculation, even if the forward solely returns Plugin_Continue. Any time MicroTF2 is loaded, 'fake crits' start occurring on certain server setups, even if IsPluginEnabled is false. None of the minigames seem to use this forward aside from 26, which can easily be replaced by HalloweenCritCandy. If crits need to be disabled, either the attribute for 'no random crits' or the cvar for disabling crits can be used.