Skip to content

Commit

Permalink
Fix joypad.set "unit test" script
Browse files Browse the repository at this point in the history
  • Loading branch information
adelikat committed Mar 29, 2014
1 parent 42ff4c0 commit fabef27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions output/Lua/UnitTests/Joypad_Set.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ buttons["P1 Up"] = false;
buttons["P1 Down"] = true;
buttons["P1 Left"] = "invert";
buttons["P1 Right"] = null;
joypad.set(buttons);

pushThings = true;

while true do
if (pushThings) then
buttons = { };
buttons["P1 A"] = false;
buttons["P1 B"] = true;
buttons["P1 Select"] = "invert";
Expand Down

0 comments on commit fabef27

Please sign in to comment.