Merge branch 'fixlastpickupdistance' into 'master'

Fixed copy and paste error for "lastpickupdistance"

See merge request KartKrew/RingRacers!44
This commit is contained in:
Sal 2024-08-09 03:33:14 +00:00
commit 7441dae7d3

View file

@ -795,7 +795,7 @@ static int player_set(lua_State *L)
else if (fastcmp(field,"distancetofinishprev"))
return NOSET;
else if (fastcmp(field,"lastpickupdistance"))
plr->airtime = luaL_checkinteger(L, 3);
plr->lastpickupdistance = luaL_checkinteger(L, 3);
else if (fastcmp(field,"airtime"))
plr->airtime = luaL_checkinteger(L, 3);
else if (fastcmp(field,"lastairtime"))