GarageGames/Torque3D — pull request #140 by eightyeight (2012-11-13 22:33:35+00:00)
Title: Updated logic in MissionArea::getServerObject.

As noted in [this thread](http://www.garagegames.com/community/forums/viewthread/125744), `MissionArea::getServerObject` has some awful performance implications. This function iterates through every server-side object to find a MissionArea.

This commit adds a new static member to MissionArea, `smServerObject`, which is used in place of the old brute-force search. This member is updated in `onAdd` and `onRemove`, and returned by `getServerObject`, which is now a guaranteed constant-time function call.