Nades: always throw with weapon drop in case offhand is occupied
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_nades.qc
index 98511b2..fd2ce00 100644 (file)
@@ -907,7 +907,10 @@ void nades_Clear(entity player)
 
 MUTATOR_HOOKFUNCTION(nades_CheckThrow)
 {
-       if(MUTATOR_RETURNVALUE) { nades_CheckThrow(); }
+       if (self.offhand) {
+               nades_CheckThrow();
+               return true;
+       }
        return false;
 }