space bbar is now veryyyyyy repsonsive

This commit is contained in:
arthur.jamet
2021-06-08 17:50:32 +02:00
parent 3a40f0aba8
commit 2503999234
+1 -1
View File
@@ -28,7 +28,7 @@ namespace BBM
};
for (auto key : keyPressedMap)
key.second = Keyboard::isPressed(key.first);
key.second = Keyboard::isDown(key.first);
controllable.move = Vector2f();
if (Keyboard::isDown(keyboard.keyRight))
controllable.move.x += 1;