Add logic to disallowing On Hold on a queue.

This commit is contained in:
Mustafa Alperen Seki
2018-03-15 12:54:29 +03:00
committed by reaperrr
parent f2e270ce06
commit 356f24b78c
2 changed files with 5 additions and 2 deletions

View File

@@ -35,6 +35,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Should the prerequisite remain enabled if the owner changes?")]
public readonly bool Sticky = true;
[Desc("Should right clicking on the icon instantly cancel the production instead of putting it on hold?")]
public readonly bool DisallowPaused = false;
[Desc("This percentage value is multiplied with actor cost to translate into build time (lower means faster).")]
public readonly int BuildDurationModifier = 100;