From 90e6a69152a7bd04fb34b032d5dbc20f36dfc3a5 Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Wed, 5 Oct 2016 16:05:56 +0200 Subject: [PATCH] Rename the airfield parameter to destination --- .../Scripting/Properties/AircraftProperties.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenRA.Mods.Common/Scripting/Properties/AircraftProperties.cs b/OpenRA.Mods.Common/Scripting/Properties/AircraftProperties.cs index 413c6f2454..aed47133d3 100644 --- a/OpenRA.Mods.Common/Scripting/Properties/AircraftProperties.cs +++ b/OpenRA.Mods.Common/Scripting/Properties/AircraftProperties.cs @@ -38,13 +38,13 @@ namespace OpenRA.Mods.Common.Scripting } [ScriptActorPropertyActivity] - [Desc("Return to the base, which is either the airfield given, or an auto-selected one otherwise.")] - public void ReturnToBase(Actor airfield = null) + [Desc("Return to the base, which is either the destination given, or an auto-selected one otherwise.")] + public void ReturnToBase(Actor destination = null) { if (isPlane) - Self.QueueActivity(new ReturnToBase(Self, false, airfield)); + Self.QueueActivity(new ReturnToBase(Self, false, destination)); else - Self.QueueActivity(new HeliReturnToBase(Self, false, airfield)); + Self.QueueActivity(new HeliReturnToBase(Self, false, destination)); } [ScriptActorPropertyActivity]