]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
porto: turn into superweapon with timer; add cvar g_balance_porto_secondary for porta...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index ebf4abc4b4d85bc7181fd408221f03c75df988a4..ab9a2b0b7f1647558e4fe96a221c817960adf051 100644 (file)
@@ -1919,7 +1919,7 @@ void player_powerups (void)
                }
                else
                {
-                       if (time < self.superweapons_finished)
+                       if (time < self.superweapons_finished || ((self.weapons & WEPBIT_SUPERWEAPONS) && (self.items & IT_UNLIMITED_SUPERWEAPONS)))
                        {
                                self.items = self.items | IT_SUPERWEAPON;
                                sprint(self, "^3You now have a superweapon\n");