Update the Desc of GrantCondition

This commit is contained in:
abcdefg30
2019-10-03 00:10:21 +02:00
committed by atlimit8
parent 76ba4fc32d
commit d1f89c6217

View File

@@ -31,7 +31,7 @@ namespace OpenRA.Mods.Common.Scripting
[Desc("Grant an external condition on this actor and return the revocation token.", [Desc("Grant an external condition on this actor and return the revocation token.",
"Conditions must be defined on an ExternalConditions trait on the actor.", "Conditions must be defined on an ExternalConditions trait on the actor.",
"If duration > 0 the condition will be automatically revoked after the defined number of ticks")] "If duration > 0 the condition will be automatically revoked after the defined number of ticks.")]
public int GrantCondition(string condition, int duration = 0) public int GrantCondition(string condition, int duration = 0)
{ {
var external = externalConditions var external = externalConditions