Fix oversight in dbbc600dc3: GetExtendedEntityState is far too demanding for performance, and it is not needed.

Refs #3745

This was SVN commit r17883.
This commit is contained in:
Nicolas Auvray 2016-03-13 17:06:12 +00:00
parent d84ad7799a
commit 9238fc8713

View File

@ -212,7 +212,7 @@ g_SelectionPanels.Command = {
{
for (let id of selection)
{
let uEntState = GetExtendedEntityState(id);
let uEntState = GetEntityState(id);
let info = g_EntityCommands["back-to-work"].getInfo(uEntState);
if (!info)