Move Utils.CenterOfCell into Map global

This commit is contained in:
Oliver Brakmann
2014-10-19 16:33:27 +02:00
parent 37c5d51f19
commit 35ccc79902
4 changed files with 11 additions and 11 deletions

View File

@@ -89,11 +89,5 @@ namespace OpenRA.Mods.RA.Scripting
return context.World.SharedRandom.Next(low, high);
}
[Desc("Returns the center of a cell in world coordinates.")]
public WPos CenterOfCell(CPos cell)
{
return context.World.Map.CenterOfCell(cell);
}
}
}