From dd8081722907a70ad340d4ab4ea112cd3f64e7e8 Mon Sep 17 00:00:00 2001 From: hd Date: Fri, 25 Jun 2021 19:39:46 +0200 Subject: [PATCH 1/2] keybind fixing kadedev stop breaking ur keybind system --- source/KeyBinds.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/KeyBinds.hx b/source/KeyBinds.hx index 2514ea1..2010501 100644 --- a/source/KeyBinds.hx +++ b/source/KeyBinds.hx @@ -72,8 +72,12 @@ class KeyBinds FlxG.save.data.gprightBind = "DPAD_RIGHT"; trace("No GRIGHT"); } + if(FlxG.save.data.killBind == null){ + FlxG.save.data.upBind = "R"; + trace("No KILL"); + } trace('${FlxG.save.data.leftBind}-${FlxG.save.data.downBind}-${FlxG.save.data.upBind}-${FlxG.save.data.rightBind}'); } -} \ No newline at end of file +} From 6ad4bdb2236f191e9c45d986f815d389b0bb8919 Mon Sep 17 00:00:00 2001 From: hd Date: Fri, 25 Jun 2021 19:42:27 +0200 Subject: [PATCH 2/2] god im stupid --- source/KeyBinds.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/KeyBinds.hx b/source/KeyBinds.hx index 2010501..b9c704d 100644 --- a/source/KeyBinds.hx +++ b/source/KeyBinds.hx @@ -73,7 +73,7 @@ class KeyBinds trace("No GRIGHT"); } if(FlxG.save.data.killBind == null){ - FlxG.save.data.upBind = "R"; + FlxG.save.data.killBind = "R"; trace("No KILL"); }