diff --git a/stepmania/src/GameState.cpp b/stepmania/src/GameState.cpp index ef0ad490b8..81a8154aa6 100644 --- a/stepmania/src/GameState.cpp +++ b/stepmania/src/GameState.cpp @@ -2144,7 +2144,7 @@ public: if( GAMESTATE ) { lua_pushstring(L, "GAMESTATE"); - GAMESTATE->PushSelf( LUA->L ); + GAMESTATE->PushSelf( L ); lua_settable(L, LUA_GLOBALSINDEX); } }