Mikusch / friendlyfire

A plugin that fixes mp_friendlyfire in Team Fortress 2
https://forums.alliedmods.net/showthread.php?t=342166
GNU General Public License v3.0
16 stars 2 forks source link

Fix entities not being hooked when friendly fire gets enabled mid-game #4

Closed Mikusch closed 1 year ago

Mikusch commented 1 year ago

Entity hooks get removed when mp_friendlyfire is disabled, and never re-hooked until it is enabled and the entity re-created. For simplicity, let's just keep hooks always active on entities.

Also fixes #3.