Fix the shared dropsites unit action icon. Refs #3791

This was SVN commit r18047.
This commit is contained in:
Itms 2016-04-17 21:00:51 +00:00
parent 07b368f064
commit de0500e274
3 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:106bb44270cd77978c4dbbe4793c9a8eff014a6d188a4e1f3e3ef47e005b271b
size 1894

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e36d3eae82bd84e4056efeb91f9fb90116ca4140b3da2d04a05aabf2c88439bb
size 2098

View file

@ -906,11 +906,11 @@ var g_EntityCommands =
if (entState.resourceDropsite.shared)
return {
"tooltip": translate("Press to prevent allies from using this dropsite"),
"icon": "lock_unlocked.png"
"icon": "unlocked_small.png"
};
return {
"tooltip": translate("Press to allow allies to use this dropsite"),
"icon": "lock_locked.png"
"icon": "locked_small.png"
};
},
"execute": function(entState)
@ -976,11 +976,11 @@ var g_AllyEntityCommands =
if (entState.resourceDropsite.shared)
return {
"tooltip": translate("You are allowed to use this dropsite"),
"icon": "lock_unlocked.png"
"icon": "unlocked_small.png"
};
return {
"tooltip": translate("The use of this dropsite is prohibited"),
"icon": "lock_locked.png"
"icon": "locked_small.png"
};
},
"execute": function(entState)