]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
reset tuba instrument on WR_SETUP
authorRudolf Polzer <divVerent@xonotic.org>
Sat, 1 Oct 2011 11:01:15 +0000 (13:01 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Sat, 1 Oct 2011 11:01:15 +0000 (13:01 +0200)
qcsrc/server/w_tuba.qc

index 79f12f55f8a0aa4636b91df84b3887fd95cf46b1..987e7b41e2570b6480e4d141aa546fcd3dc6ccec 100644 (file)
@@ -236,6 +236,7 @@ float w_tuba(float req)
        {
                weapon_setup(WEP_TUBA);
                self.current_ammo = ammo_none;
+               self.tuba_instrument = 0;
        }
        else if (req == WR_RELOAD)
        {