]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix another electro bug, one issue left
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 25 Jan 2011 16:21:07 +0000 (18:21 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 25 Jan 2011 16:21:07 +0000 (18:21 +0200)
qcsrc/server/w_electro.qc

index 61115b3a9084a50a9e6591b3ceb96bf606ae825c..f5291822b0e85cccf21e22e5d82e67c5e90db2de 100644 (file)
@@ -565,7 +565,6 @@ float w_electro(float req)
                        if(autocvar_g_balance_electro_lightning)
                                ammo_amount += self.electro_load >= autocvar_g_balance_electro_primary_ammo;
                }
-
                return ammo_amount;
        }
        else if (req == WR_CHECKAMMO2)
@@ -583,7 +582,7 @@ float w_electro(float req)
        }
        else if (req == WR_RELOAD)
        {
-               W_Shotgun_Reload();
+               W_Electro_Reload();
        }
        return TRUE;
 };