Random start weapons: Merged URS2.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 2254376..f1f67a7 100644 (file)
@@ -545,6 +545,10 @@ void PutPlayerInServer(entity this)
                this.health = start_health;
                this.armorvalue = start_armorvalue;
                this.weapons = start_weapons;
+               GiveRandomWeapons(this, random_start_weapons_count,
+                       cvar_string("g_random_start_weapons"), random_start_shells,
+                       random_start_bullets, random_start_rockets, random_start_cells,
+                       random_start_plasma);
        }
        SetSpectatee_status(this, 0);