ampreeT / SourceCoop

Black Mesa cooperative plugin for SourceMod
GNU General Public License v3.0
182 stars 13 forks source link

Teamplay Tripmine Color Fix #132

Closed ampreeT closed 4 months ago

ampreeT commented 4 months ago

The root of the problem is that map-placed tripmines are set to team 0 and the game forces beamteam/spriteteam to use a team color when mp_teamplay is set to 1. This PR fixes the incorrect tripmine sprite and beam color by creating a new beam and sprite.

Fixes #25.

Before: image

After: 269643324 29999995_image

Changes: