money works

This commit is contained in:
Chris Forbes
2009-11-05 21:32:34 +13:00
parent d385a89283
commit 841292fdf0
4 changed files with 25 additions and 9 deletions

View File

@@ -41,9 +41,7 @@ namespace OpenRa.Game.Traits.Activities
{
var harv = self.traits.Get<Harvester>();
/* todo: give cash */
harv.gemsCarried = 0;
harv.oreCarried = 0;
harv.Deliver(self);
if( NextActivity == null )
NextActivity = new Harvest();