fixed broken joystick mapping loading

This commit is contained in:
thrust26 2020-12-21 13:31:42 +01:00
parent 9cc85454cc
commit edab05dc47
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class PhysicalJoystickHandler
struct StickInfo
{
StickInfo(const nlohmann::json& map = nullptr, PhysicalJoystickPtr stick = nullptr)
: mapping{map}, joy{std::move(stick)} { }
: mapping(map), joy{std::move(stick)} { }
nlohmann::json mapping;
PhysicalJoystickPtr joy;