]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_tuba.qc
Stop engine sounds on vehicle exit
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_tuba.qc
index 4a7978808319109c2d2de1f7f61d652b512e168a..f49f6324b2046119547b21734294afe486f7b80a 100644 (file)
@@ -48,7 +48,7 @@ float Tuba_GetNote(entity pl, float hittype)
        // kind of tuba currently is player slot number, or team number if in
        // teamplay
        // that way, holes in the range of notes are "plugged"
-       if(teams_matter)
+       if(teamplay)
        {
                if(pl.team == COLOR_TEAM2 || pl.team == COLOR_TEAM4)
                        note += 3;