forked from 0ad/0ad
fix gui for non-sharable dropsites
This was SVN commit r17901.
This commit is contained in:
parent
d033038d69
commit
29e0a23c8e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user