fix gui for non-sharable dropsites

This was SVN commit r17901.
This commit is contained in:
mimo 2016-03-16 16:13:18 +00:00
parent d033038d69
commit 29e0a23c8e

View File

@ -270,7 +270,7 @@ var unitActions =
},
"getActionInfo": function(entState, targetState)
{
if (!targetState.resourceDropsite || !targetState.resourceDropsite.sharable)
if (!targetState.resourceDropsite)
return false;
var playerState = GetSimState().players[entState.player];
if (playerState.hasSharedDropsites && targetState.resourceDropsite.shared)