Bug 856- Removal of extra few lines of code
This commit is contained in:
committed by
Chris Forbes
parent
de5db51f25
commit
1fa4cf5c0a
@@ -26,13 +26,11 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
[Sync]
|
||||
int ammo;
|
||||
int ticksPerAmmo;
|
||||
LimitedAmmoInfo Info;
|
||||
|
||||
public LimitedAmmo(LimitedAmmoInfo info)
|
||||
{
|
||||
ammo = info.Ammo;
|
||||
ticksPerAmmo = info.ReloadTicks;
|
||||
Info = info;
|
||||
}
|
||||
|
||||
@@ -45,7 +43,7 @@ namespace OpenRA.Mods.RA
|
||||
return true;
|
||||
}
|
||||
|
||||
public int ReloadTimePerAmmo() { return ticksPerAmmo; }
|
||||
public int ReloadTimePerAmmo() { return Info.ReloadTicks; }
|
||||
|
||||
public void Attacking(Actor self, Target target) { --ammo; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user