Undock harvesters when refinery is destroyed or not in world

fixes #2029
This commit is contained in:
Matthias Mailänder
2013-04-21 18:13:56 +02:00
parent b4f14d2ba6
commit e09a7f57f3
3 changed files with 2 additions and 5 deletions

View File

@@ -212,9 +212,6 @@ namespace OpenRA.Mods.RA
// Returns true when unloading is complete
public bool TickUnload(Actor self, Actor proc)
{
if (!proc.IsInWorld)
return false; // fail to deliver if there is no proc.
// Wait until the next bale is ready
if (--currentUnloadTicks > 0)
return false;