diff --git a/Java/scripts/zip.sh b/Java/scripts/zip.sh old mode 100644 new mode 100755 diff --git a/RabiClone_0.0a.zip b/RabiClone_0.0a.zip index 681342c..1383cc9 100644 Binary files a/RabiClone_0.0a.zip and b/RabiClone_0.0a.zip differ diff --git a/bin/RabiClone.jar b/bin/RabiClone.jar index 99ebcdc..162aec0 100644 Binary files a/bin/RabiClone.jar and b/bin/RabiClone.jar differ diff --git a/bin/controls.config b/bin/controls.config deleted file mode 100644 index a441761..0000000 Binary files a/bin/controls.config and /dev/null differ diff --git a/src/sig/objects/ConfigureControls.java b/src/sig/objects/ConfigureControls.java index 815642a..b176325 100644 --- a/src/sig/objects/ConfigureControls.java +++ b/src/sig/objects/ConfigureControls.java @@ -35,7 +35,7 @@ public class ConfigureControls extends Object{ Action selectedAction = Action.MOVE_RIGHT; KeyBind selectedKeybind = null; boolean assigningKey = false; - List> actionHighlightSections = new ArrayList<>(); + static List> actionHighlightSections = new ArrayList<>(); int storedX=-1; int storedY=-1; int storedEndX=-1; @@ -99,6 +99,7 @@ public class ConfigureControls extends Object{ port = stream.readByte(); } while (port!='\0'); } + updateHighlightSections(); } catch (IOException e) { e.printStackTrace(); RabiClone.setupDefaultControls(); @@ -151,7 +152,7 @@ public class ConfigureControls extends Object{ stream.writeChar('\0'); } - private void updateHighlightSections() { + private static void updateHighlightSections() { for (int i=0;i());