fix some of the defrag compat code, start with the shotgun only in CTS
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / miscfunctions.qc
index 8e052e8377a0688a3b143abaf181375b6090274b..2fee39193f89bbfe983032165510a379994fe5eb 100644 (file)
@@ -881,7 +881,7 @@ float want_weapon(string cvarprefix, entity weaponinfo, float allguns)
                else if(t < -1)
                        t = 0;
                else if (g_race || g_cts)
-                       t = (i == WEP_LASER);
+                       t = (i == WEP_SHOTGUN);
                else if (g_nexball)
                        t = 0; // weapon is set a few lines later
                else