Merge pull request #9073 from pchote/remove-production-duplication

Minor Production trait cleanups.
This commit is contained in:
abcdefg30
2015-08-22 20:39:10 +02:00
3 changed files with 4 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Where the unit should leave the building. Multiples are allowed if IDs are added: Exit@2, ...")]
public class ExitInfo : TraitInfo<Exit>
public class ExitInfo : TraitInfo<Exit>, Requires<IOccupySpaceInfo>
{
[Desc("Offset at which that the exiting actor is spawned relative to the center of the producing actor.")]
public readonly WVec SpawnOffset = WVec.Zero;