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:
After:
Changes:
Fixed map-placed tripmine color being incorrect when mp_teamplay is set to 1
Cleaned up classdef.inc to follow naming conventions
The root of the problem is that map-placed tripmines are set to team
0
and the game forcesbeamteam
/spriteteam
to use a team color whenmp_teamplay
is set to1
. This PR fixes the incorrect tripmine sprite and beam color by creating a new beam and sprite.Fixes #25.
Before:
After:
Changes:
mp_teamplay
is set to1
classdef.inc
to follow naming conventions