]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc
Merge branch 'Mario/less_stats' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / nexball / sv_nexball.qc
index c0cce8e1506baf32ab5217100cad69bfe6c70fa3..5fed894b9685e6ae088035b84cf2020c7f6e99cb 100644 (file)
@@ -94,7 +94,7 @@ void ball_restart(entity this)
 
 void nexball_setstatus(entity this)
 {
-       this.items &= ~IT_KEY1;
+       STAT(OBJECTIVE_STATUS, this) &= ~NB_CARRYING;
        if(this.ballcarried)
        {
                if(this.ballcarried.lifetime && (this.ballcarried.lifetime < time))
@@ -105,7 +105,7 @@ void nexball_setstatus(entity this)
                        ResetBall(e);
                }
                else
-                       this.items |= IT_KEY1;
+                       STAT(OBJECTIVE_STATUS, this) |= NB_CARRYING;
        }
 }