]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/nexball.qc
do not reset items bits in non-ctf and non-nexball
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / nexball.qc
index 490071334a635d1cd02cf2a0da1ae6052c4d4fb7..ff9cfd35533013241403bc372078fd184f6bb30f 100644 (file)
@@ -80,8 +80,7 @@ void ball_restart (void)
 void nexball_setstatus (void)
 {
        local entity oldself;
-       if (!g_nexball)
-               return;
+       self.items &~= IT_KEY1;
        if (self.ballcarried)
        {
                if (self.ballcarried.teamtime && (self.ballcarried.teamtime < time))