diff --git a/src/de/teamteamteam/spacescooter/control/Keyboard.java b/src/de/teamteamteam/spacescooter/control/Keyboard.java index ec98f3f..145d15c 100644 --- a/src/de/teamteamteam/spacescooter/control/Keyboard.java +++ b/src/de/teamteamteam/spacescooter/control/Keyboard.java @@ -67,7 +67,7 @@ public class Keyboard implements KeyListener { * Remove the given listener from the event notifications. */ public void removeListener(KeyboardListener listener) { - Keyboard.listener.remove(Keyboard.listener); + Keyboard.listener.remove(listener); }