mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
fix gui for non-sharable dropsites
This was SVN commit r17901.
This commit is contained in:
parent
d033038d69
commit
29e0a23c8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue