stripped dead code from move; added rally point support
This commit is contained in:
@@ -123,6 +123,12 @@ namespace OpenRa.Game
|
||||
order.Player.CancelProduction( Rules.UnitCategory[ order.TargetString ] );
|
||||
break;
|
||||
}
|
||||
case "SetRallyPoint":
|
||||
{
|
||||
var pt = order.Subject.traits.Get<RallyPoint>();
|
||||
pt.rallyPoint = order.TargetLocation;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user