diff --git a/src/lua_playerlib.c b/src/lua_playerlib.c index 9332a089a..aa883f5d5 100644 --- a/src/lua_playerlib.c +++ b/src/lua_playerlib.c @@ -296,7 +296,7 @@ static int player_get(lua_State *L) lua_pushinteger(L, plr->gateSound); else if (fastcmp(field,"startboost")) lua_pushinteger(L, plr->startboost); - else if (fastcmp(field,"aizdriftstraft")) + else if (fastcmp(field,"aizdriftstrat")) lua_pushinteger(L, plr->aizdriftstrat); else if (fastcmp(field,"aizdriftextend")) lua_pushinteger(L, plr->aizdriftextend); @@ -860,7 +860,7 @@ static int player_set(lua_State *L) plr->gateSound = luaL_checkinteger(L, 3); else if (fastcmp(field,"startboost")) plr->startboost = luaL_checkinteger(L, 3); - else if (fastcmp(field,"aizdriftstraft")) + else if (fastcmp(field,"aizdriftstrat")) plr->aizdriftstrat = luaL_checkinteger(L, 3); else if (fastcmp(field,"aizdrifttilt")) plr->aizdrifttilt = luaL_checkinteger(L, 3);