Skip to content

Commit

Permalink
Fix wrong function being registered for Joystick:getSensorData().
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Aug 4, 2023
1 parent 786abdc commit 8913ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/joystick/wrap_Joystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ static const luaL_Reg w_Joystick_functions[] =
{ "hasSensor", w_Joystick_hasSensor },
{ "isSensorEnabled", w_Joystick_isSensorEnabled },
{ "setSensorEnabled", w_Joystick_setSensorEnabled },
{ "getSensorData", w_Joystick_setSensorEnabled },
{ "getSensorData", w_Joystick_getSensorData },
#endif

// From wrap_JoystickModule.
Expand Down

0 comments on commit 8913ca2

Please sign in to comment.