Whoops, didn't see the duplicate line.

This commit is contained in:
Prisima the Fox 2016-12-03 18:18:16 -05:00
parent d788cb7676
commit dd13df2308

View file

@ -815,7 +815,6 @@ void LUAh_PlayerQuit(player_t *plr, int reason)
LUA_PushUserdata(gL, plr, META_PLAYER); // Player that quit
lua_pushinteger(gL, reason); // Reason for quitting
}
lua_pushinteger(gL, reason); // Reason for quitting
lua_pushfstring(gL, FMT_HOOKID, hookp->id);
lua_gettable(gL, LUA_REGISTRYINDEX);
lua_pushvalue(gL, -3);