Make final relic display as winning the game

This commit is contained in:
thepaperpilot 2023-05-09 23:48:47 -05:00
parent ee9f34c857
commit 96df564877

View file

@ -874,7 +874,10 @@ export function createPlane(
};
break;
case "relic":
description = `Gain the ${tier}-tier planar relic (${relics[tier]})`;
description =
tier === "ultimatum"
? "Win the game!"
: `Gain the ${tier}-tier planar relic (${relics[tier]})`;
onComplete = () => {
if (tier === "ultimatum") {
hasWon.value = true;