fixed harvester LMB lameness; fixed ore rate
This commit is contained in:
@@ -138,7 +138,7 @@ namespace OpenRa.Game
|
||||
lastTime = Environment.TickCount;
|
||||
}
|
||||
|
||||
const int oreFrequency = 1;
|
||||
const int oreFrequency = 30;
|
||||
static int oreTicks = oreFrequency;
|
||||
public static int RenderFrame = 0;
|
||||
public static double RenderTime = 0.0;
|
||||
|
||||
@@ -22,6 +22,8 @@ namespace OpenRa.Game.Traits
|
||||
|
||||
public Order Order(Actor self, int2 xy, bool lmb, Actor underCursor)
|
||||
{
|
||||
if (lmb) return null;
|
||||
|
||||
if (underCursor != null
|
||||
&& underCursor.Owner == self.Owner
|
||||
&& underCursor.traits.Contains<AcceptsOre>() && !IsEmpty)
|
||||
|
||||
Reference in New Issue
Block a user