Fix biz label not showing buy info
This commit is contained in:
@@ -64,14 +64,16 @@ function receiveBusinessFromServer(businessId, isDeleted, name, entrancePosition
|
||||
if (businessData.buyPrice > 0) {
|
||||
businessData.labelInfoType = V_PROPLABEL_INFO_BUYBIZ;
|
||||
} else {
|
||||
if (hasInterior && !hasItems) {
|
||||
if (hasInterior) {
|
||||
businessData.labelInfoType = V_PROPLABEL_INFO_ENTER;
|
||||
} else if (!hasInterior && hasItems) {
|
||||
} else {
|
||||
if (hasItems) {
|
||||
businessData.labelInfoType = V_PROPLABEL_INFO_BUY;
|
||||
} else {
|
||||
businessData.labelInfoType = V_PROPLABEL_INFO_NONE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
logToConsole(LOG_DEBUG, `[V.RP.Business] Business ${businessId} already exists. Checking blip ...`);
|
||||
if (blipModel == -1) {
|
||||
|
||||
Reference in New Issue
Block a user