diff --git a/src/engine/wpak/PowersParser.java b/src/engine/wpak/PowersParser.java index 6fe38d13..a9089b3a 100644 --- a/src/engine/wpak/PowersParser.java +++ b/src/engine/wpak/PowersParser.java @@ -112,15 +112,15 @@ public class PowersParser { while (iterator.hasNext()) { String lineValue = iterator.next(); - String[] linevalues = lineValue.split("="); - String key = linevalues[0].trim(); + String[] lineValues = lineValue.split("="); + String key = lineValues[0].trim(); PowerAction powerAction; String[] arguments; switch (key) { case "ACTION": powerAction = new PowerAction(); - arguments = linevalues[1].split(" "); + arguments = lineValues[1].split(" "); powerAction.effect_id = arguments[0]; break;