forked from 0ad/0ad
Actually focus the group instead of following it. Patch by trompetin17. Fixes #2972.
This was SVN commit r16083.
This commit is contained in:
parent
53023b7efc
commit
f337905f14
@ -1568,7 +1568,11 @@ function performGroup(action, groupId)
|
||||
g_Selection.addList(toSelect);
|
||||
|
||||
if (action == "snap" && toSelect.length)
|
||||
Engine.CameraFollow(toSelect[0]);
|
||||
{
|
||||
var position = GetEntityState(toSelect[0]).position;
|
||||
if (position)
|
||||
Engine.CameraMoveTo(position.x, position.z);
|
||||
}
|
||||
break;
|
||||
case "save":
|
||||
case "breakUp":
|
||||
|
Loading…
Reference in New Issue
Block a user