Fix player owner text on bizinfo
This commit is contained in:
@@ -339,8 +339,8 @@ function getBusinessInfoCommand(command, params, client) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AG_BIZOWNER_PLAYER:
|
case AG_BIZOWNER_PLAYER:
|
||||||
let accountData = loadAccountFromId(getBusinessData(businessId).ownerId);
|
let subAccountData = loadSubAccountFromId(getBusinessData(businessId).ownerId);
|
||||||
ownerName = `${accountData.name} [${accountData.databaseId}]`;
|
ownerName = `${subAccountData.firstName} ${subAccountData.lastName} [${subAccountData.databaseId}]`;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AG_BIZOWNER_NONE:
|
case AG_BIZOWNER_NONE:
|
||||||
|
|||||||
Reference in New Issue
Block a user