]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix player not picking up ammo
authorMario <mario.mario@y7mail.com>
Tue, 9 Apr 2013 00:49:41 +0000 (10:49 +1000)
committerMario <mario.mario@y7mail.com>
Tue, 9 Apr 2013 00:49:41 +0000 (10:49 +1000)
qcsrc/server/mutators/mutator_minstagib.qc

index 2dc001d8542920a306e6097bab63eb05a7011faf..6d07ae7b27850456fb18197e62b549f4f3310431 100644 (file)
@@ -337,6 +337,8 @@ MUTATOR_HOOKFUNCTION(minstagib_GiveItem)
 
                if(giveplayer.health < 100)
                        giveplayer.health = 100;
+                       
+               player_pickedup = TRUE;
        }
                
        return TRUE;