Clean up nudging code.

This commit is contained in:
tovl
2019-09-19 00:09:46 +02:00
committed by teinarss
parent c4d1468f62
commit 38caadfdf0
7 changed files with 31 additions and 77 deletions

View File

@@ -99,7 +99,7 @@ namespace OpenRA.Mods.Common.Traits
var pilotMobile = pilot.TraitOrDefault<Mobile>();
if (pilotMobile != null)
pilotMobile.Nudge(pilot, pilot, true);
pilotMobile.Nudge(pilot);
});
}
}