]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/throwing.qc
Stop reviving progress and forbid throwing weapons and nades during the countdown...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qc
index db89ffc443b3478e610cd996b10b6c2335b49443..1b3bb661c3a939358a31b212287de2946a3837f4 100644 (file)
@@ -149,6 +149,8 @@ void W_ThrowWeapon(entity this, .entity weaponentity, vector velo, vector delta,
        Weapon w = this.(weaponentity).m_weapon;
        if (w == WEP_Null)
                return; // just in case
+       if (time < game_starttime)
+               return;
        if(MUTATOR_CALLHOOK(ForbidThrowCurrentWeapon, this, this.(weaponentity)))
                return;
        if(!autocvar_g_weapon_throwable)