Skip to content

rowedahelicon/Vaccinator-Medic-Fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vaccinator Medic Fix [SourceMod] Fixes a bug with losing ubers when swapping away from the Vaccinator

This plugin fixes an issue with the Vaccintor that causes you to lose your active resist uber when swapping away from a vaccinator. Regardless if you are the Medic ubering, or the medic being Ubered.

https://wiki.teamfortress.com/wiki/Vaccinator#Bugs

It is caused by an oversight in CTFPlayerShared::RecalculateChargeEffects as well as CWeaponMedigun::Holster >> RecalcEffectOnTarget that forcibly resets all active uber conditions. when swapping away from a medigun, regardless of where the condition came from.

Requires DHooks

Big thanks to Kent for poking me repeatedly until I got this done. :P Also thanks to Nosoop for the Windows signature!

About

Fixes a bug with losing ubers when swapping away from the Vaccinator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published