]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_crylink.qc
Fix some code that was defined in the client part of the weapons code by mistake
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_crylink.qc
index 604efbe1c1cd5ac3b0b83e5ae08b6ffa3786c6b8..7e463f56b664c4d5bc36813b202796ca0c7e459b 100644 (file)
@@ -700,6 +700,10 @@ float w_crylink(float req)
                else
                        return self.ammo_cells >= autocvar_g_balance_crylink_secondary_ammo;
        }
+       else if (req == WR_RELOAD)
+       {
+               W_Crylink_Reload();
+       }
        return TRUE;
 };
 #endif
@@ -741,10 +745,6 @@ float w_crylink(float req)
                else
                        w_deathtypestring = "%s took a close look at %s's Crylink"; // unchecked: SECONDARY
        }
-       else if (req == WR_RELOAD)
-       {
-               W_Crylink_Reload();
-       }
        return TRUE;
 }
 #endif