From 1e276adce59f390c04b20c1de75ef3b8f55da31b Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 23 Apr 2022 21:35:43 -0500 Subject: [PATCH] Made createResourceTooltip show the resource name --- src/features/trees/tree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/trees/tree.ts b/src/features/trees/tree.ts index 4ab668e..2f07573 100644 --- a/src/features/trees/tree.ts +++ b/src/features/trees/tree.ts @@ -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)