]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/weaponsystem.qc
Block manual reload if bursting to avoid wasting ammo.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / weaponsystem.qc
index 736f21fbd1681a041888486008ebdaf133683735..d367b72ad2e22ecaef25ef78c44530f7b2fbee54 100644 (file)
@@ -809,8 +809,6 @@ void W_Reload(entity actor, .entity weaponentity, float sent_ammo_min, Sound sen
                }
        }
        
-       actor.(weaponentity).misc_bulletcounter = 0;
-       
        if (this)
        {
                if (this.wframe == WFRAME_RELOAD) return;