This commit is contained in:
Chris Forbes
2009-11-18 19:24:27 +13:00
parent 25e1d9a0a1
commit de05f58aef

View File

@@ -352,7 +352,7 @@ namespace OpenRa.Game
UnitMovementType.Float : UnitMovementType.Wheel ); /* hackety hack */ UnitMovementType.Float : UnitMovementType.Wheel ); /* hackety hack */
if (space == null) if (space == null)
throw new NotImplementedException("Nowhere to place this unit."); return;
unit = new Actor(name, space.Value, player); unit = new Actor(name, space.Value, player);
var mobile = unit.traits.Get<Mobile>(); var mobile = unit.traits.Get<Mobile>();