From c8d57c995375c51f9afb4ab3de170984a8df88a5 Mon Sep 17 00:00:00 2001 From: Ibly Date: Tue, 11 Jun 2024 19:41:30 +0000 Subject: [PATCH] Fixed copy and paste error for "lastpickupdistance" --- src/lua_playerlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_playerlib.c b/src/lua_playerlib.c index 8bd5821db..992e3e6c9 100644 --- a/src/lua_playerlib.c +++ b/src/lua_playerlib.c @@ -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"))