TTT-2 / ttt2-role_snif

This is the "Sniffer" role for TTT2
1 stars 8 forks source link

Fix: Fixed Lens error when dying | Added PreDrop function #14

Closed NickCloudAT closed 1 month ago

NickCloudAT commented 1 month ago

It looks like we need an IsValid check here.. For somereason self:GetActiveWeapon passes in the first frame of death, but IsValid works without issues..

Also added the PreDrop function to disable the ironsight state.

Fixes: https://github.com/TTT-2/ttt2-role_snif/issues/12

TimGoll commented 1 month ago

Awesome! A while ago @EntranceJew reported an issue, that the footprints are broken. Could you see this as well? https://github.com/TTT-2/TTT2/issues/1390

NickCloudAT commented 1 month ago

I would guess something changed..

But yes, I see the footprints. Not sure if I should also see my own footprints, but I dont.

image

TimGoll commented 1 month ago

thanks!