From 07da5cb77c4a8bebc0dc4b618f605cc48db956ea Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 19 Aug 2024 05:44:03 -0400 Subject: [PATCH] More PowerEntry work. --- src/engine/wpak/PowersParser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 9090e3ad..7a7eb90f 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -170,8 +170,9 @@ public class PowersParser { powerEntry.grantOverrideVar = lineValues[1].trim(); break; case "DESCRIPTION": - case "CATEGORY": powerEntry.description.add(lineValues[1].trim()); + case "CATEGORY": + powerEntry.category = lineValues[1].trim(); break; case "CURVE": arguments = lineValues[1].trim().split(" ");