Jump to content

Craft Orders - wrong AlliancePrivilege check?


Rinart73

Recommended Posts

data\scripts\entity\craftorders.lua:

"CraftOrders.interactionPossible" and "checkCaptain" functions have an "AlliancePrivilege" check:

if not checkEntityInteractionPermissions(Entity(), AlliancePrivilege.FlyCrafts) then

 

But function "CraftOrders.setAIAction" makes check for different "AlliancePrivilege":

checkEntityInteractionPermissions(Entity(), AlliancePrivilege.ManageShips)

 

I doubt that changing entity order icon should require different permission than actually making that order.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...