Made createResourceTooltip show the resource name
This commit is contained in:
parent
ba2bb3a5fd
commit
1e276adce5
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ export function createResourceTooltip(
|
|||
const req = convertComputable(requirement);
|
||||
return computed(() => {
|
||||
if (requiredResource == null || Decimal.gte(resource.value, unref(req))) {
|
||||
return displayResource(resource);
|
||||
return displayResource(resource) + " " + resource.displayName;
|
||||
}
|
||||
return `Reach ${
|
||||
Decimal.eq(requiredResource.precision, 0)
|
||||
|
|
Loading…
Reference in a new issue