diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index ee27cf2213..a0c65b981a 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -1768,7 +1768,7 @@ public: { PlayerNumber pn = PLAYER_INVALID; if( lua_gettop(L) >= 2 && !lua_isnil(L,2) ) - pn = (PlayerNumber)(IArg(2)-1); + pn = (PlayerNumber)IArg(2); p->ApplyGameCommand(SArg(1),pn); return 0; }