Fixes incorrect build restriction message for MaxDistance, patch by karamel, fixes #3529
This was SVN commit r17138.
This commit is contained in:
1 parent
82590753d7
commit
21992c0827
1 file changed
+1
-1
@@ -273,7 +273,7 @@ BuildRestrictions.prototype.CheckPlacement = function()
|
||||
result.message = markForTranslation("%(name)s too far from a %(category)s, must be within %(distance)s meters");
|
||||
result.parameters.category = cat;
|
||||
result.translateParameters.push("category");
|
||||
result.parameters.distance = this.template.Distance.MinDistance;
|
||||
result.parameters.distance = this.template.Distance.MaxDistance;
|
||||
return result; // Fail
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user